Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 898 invoked by uid 500); 1 May 2001 22:03:01 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 829 invoked from network); 1 May 2001 22:02:59 -0000 content-class: urn:content-classes:message Subject: RE: Parameters and Ant MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 1 May 2001 17:02:54 -0500 Message-ID: <3B2485FD3A5C2A418C6BDD2F43E02413016E62@dmi-exch.demandsolutions.com> X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Parameters and Ant Thread-Index: AcDSigSlDLC7d1n6TlSYCWdGd+FzHQAABs4g From: "Chris Greenlee" To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N The task also allows elements (in addition to s), which don't have to be the names of files or directories. =20 Cheers, Chris Greenlee > -----Original Message----- > From: Diane Holt [mailto:holtdl@yahoo.com] > Sent: Tuesday, May 01, 2001 3:12 PM > To: ant-dev@jakarta.apache.org > Subject: Re: Parameters and Ant >=20 >=20 > --- Jean Bresse wrote: > > 1) Can Ant receive parameters from its caller? >=20 > Yes. The task allows for nested tags (see the user > manual for details).=20 >=20 > > For example, suppose I have a list of names and I want to invoke the > > same set of tasks for each name. I would want to ave one Ant process > call > > another one, I would want to call it n times (where n is=20 > the number of > > names) and pass in as a parameter the name in question. >=20 > A task was recently submitted to the list (search=20 > the ant-dev > archive for "foreach"), but it works with filesets -- so if=20 > your "names" > aren't files (or directories), you'll probably need to use=20 > the