Hai Jan,

Thanks for your help.
Its really working fine. 

Thanks,
Nagarajan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 11:51 AM
To: [EMAIL PROTECTED]
Subject: RE: How Insert content od one file to Anotherfile after some
patt ern matching


<loadfile property="file" srcFile="newText.txt"/>
<replace file="rest.txt" token="[seet]" value="${file}"/>

Not tested.


Jan

> -----Original Message-----
> From: Nagarajan Murugesan [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 08, 2003 9:00 PM
> To: Ant Users List
> Subject: How Insert content od one file to Anotherfile after some
> pattern matching
> 
> 
> 
> Hai Friends,
> 
> I need a clarification on ANT script. I need your help on that.
> 
> 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.
> 
> Is there anyway to achieve that? Or
> 
> Is there any ANT task is available to insert a content of the 
> file after 
> some pattern?
> 
> 
> Thanks,
> Nagarajan M.
> 
> 
> -
> 

Reply via email to