Re: Tip: running Modeler from eclipse

From: Andrus (
Date: Sat Nov 09 2002 - 19:11:02 EST

  • Next message: Craig Miskell: "EntityResolver and associated commits"

    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' voilá:
    >class generation works just fine.

    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.


    This archive was generated by hypermail 2.0.0 : Sat Nov 09 2002 - 19:10:18 EST