ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: iterate a fileset
Date Wed, 30 May 2007 07:02:19 GMT
I would go another way: collect all files which does NOT have the tag and display them.

<pathconvert><fileset><not><contains>
<echo>
<fail if>


Jan
 

>-----Urspr√ľngliche Nachricht-----
>Von: David Weintraub [mailto:qazwart@gmail.com] 
>Gesendet: Dienstag, 29. Mai 2007 23:52
>An: Ant Users List
>Betreff: Re: iterate a fileset
>
>Not sure if you're interested in the Ant Contrib tasks, but there is a
><foreach> task in the AntContrib that will do exactly what you want.
>See: <http://ant-contrib.sourceforge.net/tasks/tasks/index.html> for
>more information.
>
>On 5/29/07, Andres Alleva <aalleva@sdd.com.ar> wrote:
>> Hello!
>>
>> I need to check, if every .jsp in my project, contains a tag 
>like this
>> <tag=xxxx>
>> How can i iterate a fileset and use <contains...> for each 
>of my files?
>>
>> Thank u
>>
>> Andres!
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
>
>-- 
>--
>David Weintraub
>qazwart@gmail.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message