ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: Using ReplaceRegExp
Date Wed, 22 Dec 2004 09:54:42 GMT
Antoine Levy-Lambert wrote:

> What I wonder is whether you can even define a custom filter reader on 
> the fly in a build file using JavaScript (not sure, might be possible 
> only for tasks ???).

One can apply an in-line filter reader by using a scriptfilter.
http://ant.apache.org/manual/CoreTypes/filterchain.html#scriptfilter
This is restricted to processing one line at a time.
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message