I think it loads it from the jar file, but it assumes you include that jar in the classpath when you compile it (with ant?). At least it's how works with me.
-----Messaggio originale----- Da: Marc Lustig [mailto:[EMAIL PROTECTED]] Inviato: venerd� 21 febbraio 2003 13.06 A: Turbine Torque Users List Oggetto: how to use torque.useClasspath = true Thanks Scott and Andreou, I wasn't aware of those properties needed to consider. Now my methods are generated properly. But I wonder how to use "torque.useClasspath = true" in order not to rebuild the jar after each modification of the templates. The Description says: "If true, Torque will not look in the templatePath directory, for templates, but instead load them from the classpath, allowing you to use Torque without extracting it from the jar." What exactly does that mean "load them from the classpath". Do I just need to add the path/to/where/the/templates/reside/ to my system-path (w2k) or how is this supposed to work ? I couldn't find a hint in the mailing archive... Marc > -----Ursprungliche Nachricht----- > Von: Scott Eade [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 21. Februar 2003 12:06 > An: Torque Users List > Betreff: Re: how to modify Object.vm ? > > > On 21/02/2003 10:01 PM, "Marc Lustig" <[EMAIL PROTECTED]> wrote: > > > Either Torque 3.1-dev uses another file.vm or it just ignores > my method for > > some reason. > > Marc, > > There is a property that determines whether torque will use the vm files > packaged in the jar file or extracted out on disc - make sure you have the > right setting for this property (see the torque site for the > property name). > > Cheers, > > Scott > -- > Scott Eade > Backstage Technologies Pty. Ltd. > http://www.backstagetech.com.au > .Mac Chat/AIM: seade at mac dot com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
