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 don´t know exactly if
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