Only via a custom listener. Or indirect: use <record> to save that to file then use <concat> with a nested <linecontains> filterreader for printing.
Jan > -----Original Message----- > From: Johan Vromans CPWR [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 21, 2004 7:04 PM > To: Ant Users List > Subject: FIltering task output > > > Is there a way to filter the output of a (arbitrary) task? > For example, > a particular task produces a lot of output lines, and I only > want to see > (include in the ant output) the lines that contain the word "error". > > -- Johan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
