ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin von Gagern <Martin.vGag...@gmx.net>
Subject Re: Replaceregexp in ANT
Date Thu, 16 Apr 2009 11:28:10 GMT
Pankaj Arora01 wrote:
> I know replaceregexp should serve the purpose but I am unable to do
> it due to multiple lines. I need to replace the complete set of A
> properties at one go...May be treating it as a single line.

Haven't fully understood everything before, but a FileTokenizer, maybe
together with the 's' flag to replaceregexp, should solve this.

http://ant.apache.org/manual/CoreTypes/filterchain.html#filetokenizer
http://ant.apache.org/manual/OptionalTasks/replaceregexp.html

The user mailing list is probably a better place to ask such questions
than this dev list. See http://ant.apache.org/mail.html

Greetings,
 Martin von Gagern


Mime
View raw message