ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: FIltering task output
Date Thu, 22 Apr 2004 13:52:28 GMT
Hmm... this is interesting.  In the CVS version there
is a new datatype--<redirector>--that will do what you
want, but only (as yet) for <exec>, <apply>, and
<java>.  It basically encompasses: file/property/log
redirection, I/O filtration, and I/O transcoding. 
This type will probably (99%) be included in Ant 1.6.2
in relatively (99.8%) its current form...

To think bigger, I wonder if it would be possible to
add a nested <redirector> to <parallel> and
<sequential>... it could prove difficult to properly
keep track of everything... it could prove nigh
impossible.  But it might be interesting.


--- Johan Vromans CPWR
<> wrote:
> wrote:
> > Only via a custom listener.
> > Or indirect: use <record> to save that to file
> then use <concat> with a
> > nested <linecontains> filterreader for printing.
> That would be an option, but <record> seems to copy
> the task output instead of 
> diverting it.
> -- Johan
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message