Here is the answer to my own question: When upgrading to Torque 3.2 one needs to add the following line to their project.properties file to tell Torque to look for template files in the classpath (I think Torque should default to true since this was the previous behavior in 3.1.1):
torque.useClasspath = true For a full reference to all properties see: http://db.apache.org/torque/releases/torque-3.2/generator/properties-reference.html --- Anthony Spencer <[EMAIL PROTECTED]> wrote: > I'm upgrading a project to Torque 3.2 and I am > getting > the following exception when running 'maven torque': > > org.apache.velocity.exception.ResourceNotFoundException: > Unable to find resource 'sql/base/Control.vm' > > It doesn't look like the documentation tutorial has > been updated to reflect the 3.2 changes but I did > place torque-gen-templates-3.2.jar in my classpath. > Is > this the correct thing to do? > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
