| AW: iterate a fileset | AW: iterate a fileset 2007-05-30 - By Jan.Materne@(protected)
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@(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 <aalleva@(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: user-unsubscribe@(protected) >> For additional commands, e-mail: user-help@(protected) >> >> > > >-- >-- >David Weintraub >qazwart@(protected) > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@(protected) >For additional commands, e-mail: user-help@(protected) > >
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |