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 d

RE: Replacing text in files

2007-05-25 Thread Sean Tiley
Subject: Replacing text in files Hello, I am compiling a Visual Basic project and want to set the version number inside the project file (project.vbp). This looks like: HelpContextID="0" CompatibleMode="0" MajorVer=3 MinorVer=8 RevisionVer=38 [...] How can I replace a

Replacing text in files

2007-05-25 Thread Lars Monsees
Hello, I am compiling a Visual Basic project and want to set the version number inside the project file (project.vbp). This looks like: HelpContextID="0" CompatibleMode="0" MajorVer=3 MinorVer=8 RevisionVer=38 [...] How can I replace a line from this file with some other text? I thought a