Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 81066 invoked from network); 4 Jul 2008 09:02:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jul 2008 09:02:02 -0000 Received: (qmail 90963 invoked by uid 500); 4 Jul 2008 09:01:59 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 90920 invoked by uid 500); 4 Jul 2008 09:01:59 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 90909 invoked by uid 99); 4 Jul 2008 09:01:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2008 02:01:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [213.9.79.54] (HELO box7954.elkhouse.de) (213.9.79.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2008 09:01:05 +0000 Received: from [212.126.219.82] (helo=[192.168.10.14]) by box7954.elkhouse.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KEgXy-0008Cl-6T for user@ant.apache.org; Fri, 04 Jul 2008 10:21:38 +0200 Subject: Referencing command line args? From: Roman Kennke To: user@ant.apache.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-rt8TtHp2qEQPOxpjDOLo" Date: Fri, 04 Jul 2008 11:01:22 +0200 Message-Id: <1215162082.6383.4.camel@moonlight> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 X-Virus-Checked: Checked by ClamAV on apache.org --=-rt8TtHp2qEQPOxpjDOLo Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi there, is it possible to define command line args for the exec and apply tasks elsewhere and reference them, just like is possible with path-like structures in other commands? This would be very helpful to avoid duplication in a project that I'm implementing. So far, the only option is to use properties and put them together into complete command lines, and then use , which is ugly and has its limitations. I'd much prefer to be able to use and use a collection of args defined elsewhere. Is this possible somehow? If not, could this be added to ant? Cheers, Roman --=20 http://kennke.org/blog/ --=-rt8TtHp2qEQPOxpjDOLo Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIbebiu8ApkxNPXNERAuLpAJ47FMgZDIhCWvkyfbmdZI8ltztqTQCgiAn7 ZvbEGytPgpke7SMRKzNTRew= =5b07 -----END PGP SIGNATURE----- --=-rt8TtHp2qEQPOxpjDOLo--