You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Raja Nagendra Kumar <Na...@tejasoft.com> on 2009/09/09 17:59:30 UTC
ant target and -D options to ant task
Hi,
I am looking for having ant build.xml
<project>
<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
</ant
</project>
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.
Regards
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
--
View this message in context: http://www.nabble.com/ant-target-and--D-options-to-ant-task-tp25368031p25368031.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: ant target and -D options to ant task
Posted by Raja Nagendra Kumar <Na...@tejasoft.com>.
I shall spilit the question into two:
1. is there a way to know what are the exact commands including system
properties and targets and ant opts used to invoke the ant
2. is there a way to pass these value with in the ant task <ant> to invoke
another build in the same way.
--
View this message in context: http://www.nabble.com/ant-target-and--D-options-to-ant-task-tp25368031p25422214.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org