ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davor Cengija <>
Subject Re: Task to perform string replacement in property?
Date Fri, 20 Sep 2002 17:59:01 GMT
On Fri, 2002-09-20 at 19:24, Todd Breiholz wrote:
> I have a property that I would like to replace all occurrences of a 
> string with another string and (optionally) create a new property with 
> the value.
> Does anything like this exist currently?

There's replace task as well as replaceregexp (in optional package). I'm
using Ant 1.5.0. It seems that replaceregexp has a bug when replacing
with empty string ""; it appends CR/LF instead of removing the line

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

View raw message