fyi - Windows users can use "javaw.exe" to avoid the extra window from
displaying:
javaw -jar /path/to/cayenne/bin/CayenneModeler.jar /path/to/cayenne.xml
-----Original Message-----
From: Andrus Adamchik [mailto:andru..bjectstyle.org]
Sent: Tuesday, January 16, 2007 1:14 PM
To: cayenne-use..ncubator.apache.org
Subject: Re: modeler command line
Yeah... That's a limitation of JApplication Java launcher builder.
Since JApplication task (and Maven plugin) is maintained at
ObjectStyle, I opened a feature request there [1], and assigned it to
myself. This will require some NSIS hacking. We'll see how that works.
Now the workaround... Luckily the new modeler is a standalone jar
that is easy to run from command line without any special CLASSPATH.
So it can be scripted like this:
java -jar CayenneModeler.jar /path/to/cayenne.xml
Andrus
[1] http://issues.objectstyle.org/jira/browse/WOL-364
On Jan 16, 2007, at 7:09 PM, Bryan Lewis wrote:
> A tiny issue. Hardly worth mentioning, really. In the new 2.0.1
> version available from the web site, CayenneModeler.exe no longer lets
> me specify the directory from which to load cayenne.xml. It was
> nice to
> have the modeler come up with my model alredy loaded.
This archive was generated by hypermail 2.0.0 : Wed Jan 17 2007 - 08:55:34 EST