Hi Alexey,
sorry, I have to revoke my last answer.
Loadfile does not work, it does nothing.
I use Ant 1.6.2. Can this be the reason ? For all ? Do you have a manual for
Ant 1.6.2 ?
Please help.
Regards
Christine
-Ursprüngliche Nachricht-
Von: Christine Gerstenmayer [mailto:[EMAIL
Re: Howto do this in Ant: Replace a placeholder in a file with the
content in another file
I would suggest using
http://ant.apache.org/manual/CoreTasks/loadfile.html
with http://ant.apache.org/manual/CoreTasks/replace.html
- Alexey.
Christine Gerstenmayer wrote:
> Hi all,
>
> I ne
Hi all,
I need your help.
I want to replace a placeholder in a file with the content of another file.
e.g.
File 1:
Xxx
X
Xxx
&place
File 2:
Abcdefg
Abcdefg
Abcdefg
I want to replace "&place" in File 1 with the content of File 2 so