ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <>
Subject ant target and -D options to ant task
Date Wed, 09 Sep 2009 15:59:30 GMT


I am looking for having ant build.xml


<target name="callOther">
<ant dir="other direc.."> 
//as part of this call I need to pass the command line options which used
for invoking this ant

When this ant is run using the command

ant -Dprop=10 clean deploy -debug

Then the callOther directory build.xml should be called exactly with the
same args i.e -Dprop=10 clean deploy -debug

is that possible.

Raja Nagendra Kumar,

View this message in context:
Sent from the Ant - Users mailing list archive at

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

View raw message