ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: FIltering task output
Date Thu, 22 Apr 2004 05:32:59 GMT
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:johan.vromans@nl.compuware.com]
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message