You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Olivier DOREMIEUX <ol...@doremieux.org> on 2010/06/15 16:59:09 UTC

Tomcat 5.0/6.0, jasper2, log4j and Ant

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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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

Posted by Pid <pi...@pidster.com>.
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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>