On Jun 26, 2009, at 10:33 PM, Henrique Prange wrote:
> Hi Mike,
>
> On Jun 26, 2009, at 4:54 PM, Mike Schrag wrote:
>
>>> What about that button in Entity Modeler that generates the first
>>> ERXmigration ? ; > )
>> what do you mean? i use this all the time ...
I found the button!!!
How many years has that been there? : )
Maybe I don't need Entity Modeler to generate SQL. (see WOL-986 below )
>>
>>> Or getting Entity Modeler to work with those jar frameworks ?
>> i thought the jar framework posse already fixed this? jar people?
>>
>
> I've been using models inside jar frameworks without any problems
> in the past few months.
>
> Which version of WOLips are you using, Mr Brown? What kind of
> problem have you been facing related to this feature?
>
> Cheers,
>
> Henrique
Entity modeler's SQL generation doesn't work with ERPrototypes
NSJarBundle Frameworks
------------------------------------------------------------------------
-------------
Key: WOL-986
URL: http://issues.objectstyle.org/jira/browse/WOL-986
Project: WOProject/WOLips
Issue Type: Bug
Components: wolips
Environment: Eclipse 3.4.2, wolips 3.4.5708 (nightly),
Wonder 5.0.0-snapshot of 3-20?-09, Mac os x 10.4.11
Reporter: Greg.Brown
Priority: Minor
ERPrototypes NSJarBundle Framework cause the below error message; a
workaround is to put the regular 'directory' framework before the
nsjarbundle framework on the classpath:
java.lang.IllegalArgumentException: Unable to read either 'jar:file:/
Volumes/OS9User/gbrown/.m2/repository/wonder/core/ERPrototypes/5.0.0-
SNAPSHOT/ERPrototypes-5.0.0-SNAPSHOT.jar!/Resources/
erprototypes.eomodeld//index.eomodeld' or 'jar:file:/Volumes/OS9User/
gbrown/.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.EOFSQLGenerator.<init>
(EOFSQLGenerator.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.sqlGene
rator(EOFSQLGeneratorFactory.java:36)
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)
And, of coarse it works if I add the ERPrototypes framework directory
to the classpath, or just pet the fluffy bunny.
This archive was generated by hypermail 2.0.0 : Fri Jun 26 2009 - 23:40:38 EDT