RE: Replacing text in files

2007-05-29 Thread Lars Monsees
Hello, > /* > How can I replace a line from this file with some other text? I > thought about "loadfile" or "patch", but don´t know exactly if these > would work. */ > > use a filterchain with replaceregex or replacestring > it now works this way: In case anyone else needs this so

RE: Replacing text in files

2007-05-25 Thread Lars Monsees
Thanks, I must have missed these tasks. Have a nice day, Lars - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Replacing text in files

2007-05-25 Thread Rebhan, Gilbert
-Original Message- From: Lars Monsees [mailto:[EMAIL PROTECTED] Sent: Friday, May 25, 2007 1:50 PM To: user@ant.apache.org Subject: Replacing text in files /* How can I replace a line from this file with some other text? I thought about "loadfile" or "patch", but don´t know exactly if

RE: Replacing text in files

2007-05-25 Thread Sean Tiley
Have a look at the Replace task in ant. I am using that task for a similar operation in my build. http://ant.apache.org/manual/CoreTasks/replace.html HTH Sean -Original Message- From: Lars Monsees [mailto:[EMAIL PROTECTED] Sent: Friday, May 25, 2007 7:50 AM To: user@ant.apache.org Sub