ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: How Insert content od one file to Anotherfile after some pattern matching
Date Mon, 11 Aug 2003 06:51:58 GMT
On Sat, 9 Aug 2003, Nagarajan Murugesan <NMURUGESAN@selectica.com>
wrote:

> I have a file called rest.txt which contains a pattern [seet]
> Now I want to replace the pattern [seet] with the contents in the 
> another file say replace.txt instead og giving values.

Load the content of the file into a property (using <loadfile>) and
use that property as your value.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message