At 08:23 PM 11/8/2002 +0100, Holger Hoffstätte wrote:
>Maybe I'm the last person on earth to realize this, but Modeler won't run
>correctly when started from within eclipse: generating class files will
>fail since the velocity engine will fail to find the class templates.
>After wading through velocity, rearranging my classpath in obscure ways
>and waving the proverbial chicken, I was enlightened: open the 'Editor'
>Launch Configuration, select the Arguments tab, under Working Directory
>select 'Workspace' and enter 'cayenne/src/cayenne/resources'...et voilá:
>class generation works just fine.
>
>Holger
I normally run modeler from the shell script, and to run it from Eclipse I
had to configure the same script to be an "External Tool". Pretty lame...
So thanks for the tip.
Andrus
This archive was generated by hypermail 2.0.0 : Sat Nov 09 2002 - 19:10:18 EST