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:[EMAIL PROTECTED] 
>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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>-- 
>--
>David Weintraub
>[EMAIL PROTECTED]
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to