ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Jocham <rjocha...@yahoo.com>
Subject How to set system properties (-D) from a ant task
Date Fri, 10 Oct 2003 18:06:36 GMT
Hi,
I am facing the following problem. My program uses
log4j and when the program is launched using a .sh or
.bat file I pass in the log4j config file with 

-Dlog4j.configuration=jcsc.log4j

which works fine. However, my application
(http://jcsc.sourceforge.net) also provides a Ant
task. How can I pass in a -D property from my ant
task. I do not want to create a new attribute for my
JCSC task. The Ant documentation didn't help.

Any help or advise is appreciated.

Thanks,
Ralph

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message