The new Selector capability of Ant 1.5 might be able to do what you want, or you could write a custom selector. It has a <contains> selector that can be nested in <fileset>.
Erik ----- Original Message ----- From: "Ajay Kerwell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 18, 2002 9:28 AM Subject: Simple filtering question > > Hi, > > > I need to create a fileset of all JSPs that include other JSPs - in other words, to create a fileset of "parent" JSPs (subsequently move them to a separate directory). > > Was wondering of a correct way to check if a file (not line) "contains" the expression "include". > > Shall appreciate any feedback. > > Ajay > > > > > > --------------------------------- > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>