ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james" <ja...@unikala.com>
Subject RE: Newbie question : Can I target with argument ?
Date Mon, 05 Mar 2001 18:28:47 GMT
-----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-----


Mime
View raw message