Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 1139 invoked from network); 14 Aug 2008 21:57:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2008 21:57:46 -0000 Received: (qmail 4395 invoked by uid 500); 14 Aug 2008 21:57:43 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 4362 invoked by uid 500); 14 Aug 2008 21:57:42 -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 4351 invoked by uid 99); 14 Aug 2008 21:57:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2008 14:57:42 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.156 as permitted sender) Received: from [65.55.111.156] (HELO blu0-omc4-s17.blu0.hotmail.com) (65.55.111.156) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2008 21:56:43 +0000 Received: from BLU142-W35 ([65.55.111.136]) by blu0-omc4-s17.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Aug 2008 14:56:50 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_58ac9a18-a40b-4d53-93c3-a204ec1bca83_" X-Originating-IP: [66.31.231.79] From: Martin Gainty To: Ant Users List Subject: RE: Property array? Date: Thu, 14 Aug 2008 17:56:50 -0400 Importance: Normal In-Reply-To: <18988851.post@talk.nabble.com> References: <18988851.post@talk.nabble.com> MIME-Version: 1.0 X-OriginalArrivalTime: 14 Aug 2008 21:56:50.0649 (UTC) FILETIME=[A7D68490:01C8FE58] X-Virus-Checked: Checked by ClamAV on apache.org --_58ac9a18-a40b-4d53-93c3-a204ec1bca83_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hey Mark- no declaration of property array as far as I can see you can feel free to c= reate your own as in this example =20 public class MyTask extends Task { private List conditions =3D new ArrayList()=3B public void add(Condition c) { conditions.add(c)=3B } public void execute() { // iterator over the conditions } } =20 =20 =20 One may define and use this class like this: =20 =20 =20 There are a number of hidden implementation details such as which constru= ctors are created and used but the mechanics of creating the stub are here..more info available at http://ant.apache.org/manual/develop.html Maybe some of the committers can weigh in??? Martin=20 ______________________________________________=20 Disclaimer and confidentiality note=20 Everything in this e-mail and any attachments relates to the official busin= ess of Sender. This transmission is of a confidential nature and Sender doe= s not endorse distribution to any party other than intended recipient. Send= er does not necessarily endorse content contained within this transmission.= =20 > Date: Thu=2C 14 Aug 2008 13:14:33 -0700 > From: markww@gmail.com > To: user@ant.apache.org > Subject: Property array? >=20 >=20 > Hi=2C >=20 > Is there any way to make an array property in Ant? I want to write some > stuff to a file based on an array property. Something like the user enter= s > this: >=20 > > > > > >=20 > for (i =3D 0=3B i < ${colors}=3B i++) { > > } >=20 > Yeah I'm just making the syntax up as I go along - anything like that? >=20 > Thanks > --=20 > View this message in context: http://www.nabble.com/Property-array--tp189= 88851p18988851.html > Sent from the Ant - Users mailing list archive at Nabble.com. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: user-unsubscribe@ant.apache.org > For additional commands=2C e-mail: user-help@ant.apache.org >=20 _________________________________________________________________ Reveal your inner athlete and share it with friends on Windows Live. http://revealyourinnerathlete.windowslive.com?locale=3Den-us&ocid=3DTXT_TAG= LM_WLYIA_whichathlete_us= --_58ac9a18-a40b-4d53-93c3-a204ec1bca83_--