I'm trying to get torque integrated into my build process such that I can
have one installation of torque and have each project store it's
torque-related files in its own source tree. Basically I have Ant call out
to build-torque.xml in the torque distribution after defining the following
properties:

  <property name="torque.home"
            location="path-to-torque"/>
  <property name="torque.contextProperties"
            location="src/torque/build.properties"/>
  <property name="torque.schema.dir"
            location="src/torque"/>
  <property name="templatePath"
            location="${torque.home}/templates"/>

This allows me to have my torque build and runtime properties, schema
definition, data.xml etc in my project source tree. The last line is needed
because torque doesn't look for it's templates relative to torque.home :(

The problem I have is that I get a velocity.log in my project root
directory. I'd like to have it end up in the build output directory instead
(i.e. The same place as the generated SQL, Java and report files).

How do I tell torque where to generate this file? I know that
Torque.properties lets me control this at run-time, but what about during
generation? A grep through the torque installation for 'velocity.log' came
up empty, which suggests this might be hard-coded :-(

I'd rather avoid maintaining a locally modified torque distribution just for
this silly little requirement ;-) Is there a way to override where the log
file goes?

Thanks,

L.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to