PDA

View Full Version : ANT target parameters


Joe G
01-11-2011, 01:38 AM
How do I pass target parameters to an ANT script called in a Visual Build Subroutine?

e.g.

SubRoutine to call: Run Ant Script

Name: Value:
ANT_Build_Script C:\temp\build.xml

I would like to call 2 targets in build.xml:
gen.abc.jar and gen.xyz.jar.

I'm looking for the equivalent of the DOS cmd line:
ant -f build.xml gen.abc.jar gen.xyz.jar

Thanks.

kinook
01-11-2011, 09:14 AM
See the attached sample.

Joe G
01-11-2011, 12:33 PM
Thank You.