Re: Tomcat 5.0/6.0, jasper2, log4j and Ant

2010-06-17 Thread Pid
On 15/06/2010 15:59, Olivier DOREMIEUX wrote:
 Hello,
 
 How to propagate variables to the jasper2 task in ANT?
 
 I have log4.properties with a variable, with define the path where the
 log file are located.

OK so far.

 My variable is visible inside of ant, but doesn't get propagated with
 jasper2, they are empty.

How are you setting it, and how and where are you expecting to read it
(in a JSP perhaps)?


p

 Is there something equivalent to  sysproperty key=MY_VAR
 value=myPath/  for jasper2?

 Any work around?
 
 Thanks in advance,
 
 Olivier DOREMIEUX
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 




signature.asc
Description: OpenPGP digital signature


Tomcat 5.0/6.0, jasper2, log4j and Ant

2010-06-15 Thread Olivier DOREMIEUX

Hello,

How to propagate variables to the jasper2 task in ANT?

I have log4.properties with a variable, with define the path where the 
log file are located.
My variable is visible inside of ant, but doesn't get propagated with 
jasper2, they are empty.
Is there something equivalent to  sysproperty key=MY_VAR 
value=myPath/  for jasper2?


Any work around?

Thanks in advance,

Olivier DOREMIEUX


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org