On 28/06/2009, at 6:56 AM, Mr. G Brown wrote:
> On Jun 27, 2009, at 11:59 AM, Henrique Prange wrote:
>
>> Hi Mike,
>>
>> On Jun 27, 2009, at 11:24 AM, Mike Schrag wrote:
>>
>>> Looking at the code, I don't see why this is breaking, actually.
>>> Does
>>> Anyone use jar frameworks with 5.3?
>>>
>>
>> We have projects depending even in 5.2.x indeed. :)
>
> Could the SQL generation problem be something in the 5.3
> ERextensions framework?
I don't believe so. i.e., the stack trace shows that the exception is
thrown from com.webobjects.eoaccess.EOModel. However, wonder does
nowadays include an EOModel subclass (was disabled by default until
more recently) that could perhaps provide a fix, for at least runtime
problems.
> There is a different version of that for 5.3 vs 5.4; and
> ERPrototypes is the same.
>
> I just tested that it is still there for wo5.3. I can't test wo 5.4,
> but Laclen just did ( and no bug in 5.4)
>
> Of course, these little things always makes one wonder: why does it
> do that?
Sure.
I just repeated the experiment for wo53 and got the following problem.
java.lang.IllegalArgumentException: Unable to read either 'jar:file:/
Users/ldeck/.m2/repository/wonder/core/ERPrototypes/5.0.0-SNAPSHOT/
ERPrototypes-5.0.0-SNAPSHOT.jar!/Resources/erprototypes.eomodeld//
index.eomodeld' or 'jar:file:/Users/ldeck/.m2/repository/wonder/core/
ERPrototypes/5.0.0-SNAPSHOT/ERPrototypes-5.0.0-SNAPSHOT.jar!/Resources/
erprototypes.eomodeld//eomodel.plist
at com.webobjects.eoaccess.EOModel.<init>(EOModel.java:800)
at
com
.webobjects
.eoaccess.EOModelGroup.addModelWithPathURL(EOModelGroup.java:498)
at
org
.objectstyle
.wolips
.eomodeler.core.sql.EOFSQLGenerator53.<init>(EOFSQLGenerator53.java:121)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun
.reflect
.NativeConstructorAccessorImpl
.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun
.reflect
.DelegatingConstructorAccessorImpl
.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
org
.objectstyle
.wolips
.eomodeler
.core
.sql.EOFSQLGeneratorFactory.sqlGenerator(EOFSQLGeneratorFactory.java:43)
at
org
.objectstyle
.wolips
.eomodeler
.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:297)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog
$1.run(GenerateSQLDialog.java:279)
at java.lang.Thread.run(Thread.java:613)
Diffing wo53/wo54, 54 definitely has a fix for dealing with proper urls.
with regards,
--Lachlan Deck
This archive was generated by hypermail 2.0.0 : Sun Jun 28 2009 - 07:16:39 EDT