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 completelly. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
