Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 14267 invoked from network); 1 Jul 2010 13:29:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jul 2010 13:29:12 -0000 Received: (qmail 23749 invoked by uid 500); 1 Jul 2010 13:29:11 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 23463 invoked by uid 500); 1 Jul 2010 13:29:09 -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 23450 invoked by uid 99); 1 Jul 2010 13:29:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 13:29:08 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [15.201.24.20] (HELO g4t0017.houston.hp.com) (15.201.24.20) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 13:28:59 +0000 Received: from G6W0640.americas.hpqcorp.net (g6w0640.atlanta.hp.com [16.230.34.76]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by g4t0017.houston.hp.com (Postfix) with ESMTPS id 0DE993853E for ; Thu, 1 Jul 2010 13:28:38 +0000 (UTC) Received: from G5W0323.americas.hpqcorp.net (16.228.8.68) by G6W0640.americas.hpqcorp.net (16.230.34.76) with Microsoft SMTP Server (TLS) id 8.2.176.0; Thu, 1 Jul 2010 13:26:42 +0000 Received: from GVW1115EXC.americas.hpqcorp.net ([16.228.11.78]) by G5W0323.americas.hpqcorp.net ([16.228.8.68]) with mapi; Thu, 1 Jul 2010 13:26:42 +0000 From: "Bailey, Darragh" To: Ant Users List Date: Thu, 1 Jul 2010 13:26:40 +0000 Subject: RE: Constructing patterns for use in fileset includes Thread-Topic: Constructing patterns for use in fileset includes Thread-Index: AcsYZMNVVtRU1i0URzy6xa/aCx9FlAAuwnoA Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Matt Benson [mailto:gudnabrsam@gmail.com]=20 > Sent: 30 June 2010 15:57 > To: Ant Users List > Subject: Re: Constructing patterns for use in fileset includes =20 > You're in luck. I would recommend using antcontrib:for to=20 > iterate over a resourcecollection built from your=20 > property + the new task. See=20 > http://markmail.org/thread/4qskrvmiyk6qpjdg for a discussion=20 > of a similar strategy for another problem. >=20 > HTH, > Matt It helped lots thanks!=20 That augment task seems very useful, solves the problem perfectly. Never wo= uld have occurred to me to use it. Not sure about how you were suggesting to use the resource collect= or though? Here's what I came up with: Property packages.rpm.build is set to a list of package names to build, min= us version and src.rpm extension and comma delimited. How would the resource collector fit into this? Obviously I've a little bit of work to do with adding a mapper to track the= outputted rpms to help stop the task re-running if it's not necessary. -- Regards, Darragh Bailey Systems Software Engineer Hewlett Packard Galway Ltd. Postal Address:=A0=A0=A0 Hewlett Packard Galway Limited, Ballybrit Business= Park, Galway Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson'= s Quay Dublin 2 Registered Number: 361933=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org