Yes, use the <concat> task with a nested <filterchain> and a <linecontainsregexp> filterreader.
/t >-----Original Message----- >From: samuel cheung [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 25, 2006 5:24 AM >To: [email protected] >Subject: Ant task to grep 'import' ? > >Hi, > >Is there an ANT task to grep all "imports" in each java file and save >them in another file? > >Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
