You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Florian Hopf <ho...@synyx.de> on 2006/07/20 13:21:32 UTC
How to configure Velocity for Torque task
Hi,
I am using the Torque tasks in a webapp, calling Ant from java directly.
Everything works fine so far, but I couldn't figure out how to configure
the Velocity log system to log to a custom directory. The velocity.log
and slides folder (I'm not quite sure if this is also torque stuff) are
always created in the folder from where I start my servlet engine
(tomcat in this case). I tried inserting the property |runtime.log in
build.properties but it was ignored completely.
Does anybody have a hint on this or do I have to modify
default.properties in my velocity jar?
Kind regards
Florian
|
--
/**
* Florian Hopf
* Synyx GmbH & Co. KG
* phone +49(0)721 9118303
* eMail hopf@synyx.de
* www http://www.synyx.de
* irc irc://irc.synyx.de
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
Re: How to configure Velocity for Torque task
Posted by Florian Hopf <ho...@synyx.de>.
Florian Hopf schrieb:
> Hi,
> I am using the Torque tasks in a webapp, calling Ant from java directly.
> Everything works fine so far, but I couldn't figure out how to configure
> the Velocity log system to log to a custom directory. The velocity.log
> and slides folder (I'm not quite sure if this is also torque stuff) are
> always created in the folder from where I start my servlet engine
> (tomcat in this case). I tried inserting the property |runtime.log in
> build.properties but it was ignored completely.
> Does anybody have a hint on this or do I have to modify
> default.properties in my velocity jar?
>
>
Using the latest svn version of velocity it can be configured using the
attribute logFile in the Torque tasks.
Kind regards
Florian
--
/**
* Florian Hopf
* Synyx GmbH & Co. KG
* phone +49(0)721 9118303
* eMail hopf@synyx.de
* www http://www.synyx.de
* irc irc://irc.synyx.de
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org