I re-read the documentation on the torque.templatePath property.
I was surprised to see that it was required to be a relative path. I had it set to an absolute path built from the relative paths of my build file.
In any case, once I specified the templatePath correctly as a relative path, the Control file was found.
Thanks
Thomas Fischer wrote:
Laran,
which database are you using (the torque.database setting in the build.properties of the generator) ? And which Torque version are you using ?
Thomas
"Laran Evans" <[EMAIL PROTECTED]> schrieb am 31.03.2005 21:01:01:
bothI get this when running the create-db Ant task.
org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'sql/db-init/Control.vm'
The torque and torque-gen .jars are in my classpath. I've tried with
torque.useClasspath=true and torque.useClasspath=false. Both failed.
Any suggestions?
-- Laran Evans - Cornell University p: (607) 255-6864 f: (607) 255-0327
--------------------------------------------------------------------- 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]
