Hello Hans,
if I recall correctly loading the contents of a file into a property
(LoadFile Task) and then use token replacement should do.
Best regards,
Steffen Schluff
Orientation in Objects GmbH
http://www.oio.de
-----Ursprungliche Nachricht-----
Von: Johann Uhrmann [mailto:johann.uhrmann@xpecto.com]
Gesendet: Montag, 18. August 2003 15:56
An: Ant Users List
Betreff: How to replace tokens with file contents?
Hello,
does Ant know a way to replace a token in a source file with the
contents of a second file?
In my case, I want to merge the xml-fragment that is generated by
Jasper2 into the web.xml file. (replace a token in web.xml with
the contents of generated_web.xml)
If there is no ant task to accomplish this, could there be a
workaround?
Kind regards,
Hans
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|