Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 55781 invoked from network); 10 Oct 2006 15:06:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2006 15:06:57 -0000 Received: (qmail 65376 invoked by uid 500); 10 Oct 2006 15:06:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 65331 invoked by uid 500); 10 Oct 2006 15:06:52 -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 65316 invoked by uid 99); 10 Oct 2006 15:06:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 08:06:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.1.36] (HELO gmp-ea-fw-1.sun.com) (192.18.1.36) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 08:06:50 -0700 Received: from d1-emea-09.sun.com ([192.18.2.119]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k9AF6QqO017992 for ; Tue, 10 Oct 2006 16:06:28 +0100 (BST) Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0J6X00201DW2JT00@d1-emea-09.sun.com> (original mail from Daniel.Blaukopf@Sun.COM) for user@ant.apache.org; Tue, 10 Oct 2006 16:06:26 +0100 (BST) Received: from [129.156.61.23] by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0J6X00J4XDYPN66T@d1-emea-09.sun.com> for user@ant.apache.org; Tue, 10 Oct 2006 16:06:26 +0100 (BST) Date: Tue, 10 Oct 2006 17:06:24 +0200 From: Daniel Blaukopf Subject: Re: Loop over a set of files In-reply-to: <452AAEDC.3000408@gmail.com> Sender: Daniel.Blaukopf@Sun.COM To: Ant Users List Message-id: <452BB6F0.9050906@sun.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8BIT X-Enigmail-Version: 0.94.0.0 References: <452AAEDC.3000408@gmail.com> User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Iv�n, Can you write your macro to accept a fileset instead of a specific file? And then us to run the command? Daniel Iv�n P�rez Dom�nguez wrote: > Hi there! > > I've written a macrodef that takes a file name as an argument and tests > it with a specific command. I'd like to run this macrodef over a set of > files, but the program I test can only get one input file at each time. > I'd also like to be able to use pattern matching, such as "*.o" or > "*.cpp" for these input files. > > Is there any existing task that can help me on this purpose? Do I have > to write my own ANT loop-over-fileset task in Java to do it? > > Cheers > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org