ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Poulin <>
Subject using own log4j w/ant
Date Thu, 06 Jun 2002 19:56:38 GMT
Hi again,
 We are using ant1.4.1, and want to use our own log4j config file.  I've
tried invoking ant like this:
% ant -Dlog4j.configuration=file:/foo/ target

Running this in verbose mode shows that the property is set, but in fact,
our log4j config file isn't used. I also tried setting the property within
the build.xml file - no dice, either.
The only way I've been able to get this to work is to add the -D parameter
to the last line of the /usr/bin/ant
script - then there is no problem.  Is there a way around this, or am I
doing something wrong?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message