You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jean-Guillaume LALANNE <je...@coming.fr> on 2001/03/05 19:03:51 UTC
Newbie question : Can I target with argument ?
Hi,
Is it possible to define ant target with arguments ??
I mean something like :
Command line :
build mytarget arg1 arg2 arg3
Build.xml :
<target name="mytarget" arguments="arg1,arg2,arg3" >
<... where we use the variables arg1 arg2 arg3 ...
</target>
thanks for your help
Jean-Guillaume LALANNE
RE: Newbie question : Can I target with argument ?
Posted by james <ja...@unikala.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
you can use "antcall" w/-D....
james@unikala.com
-----Original Message-----
From: Jean-Guillaume LALANNE
[mailto:jean-guillaume.lalanne@coming.fr]
Sent: Monday, March 05, 2001 10:04 AM
To: ant-user@jakarta.apache.org
Subject: Newbie question : Can I target with argument ?
Hi,
Is it possible to define ant target with arguments ??
I mean something like :
Command line :
build mytarget arg1 arg2 arg3
Build.xml :
<target name="mytarget" arguments="arg1,arg2,arg3" >
<... where we use the variables arg1 arg2 arg3 ...
</target>
thanks for your help
Jean-Guillaume LALANNE
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8
iQA/AwUBOqPa3wXY7J7Vn/AcEQLkBwCfZNxVlau0UmNdDeemRR2IvXx8O38AoPIy
sPc8X+m4k2mhJPcQ/t0LSexK
=MvO5
-----END PGP SIGNATURE-----