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
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]
-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
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
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