You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by ed...@PaymentOne.com on 2003/03/17 23:59:02 UTC

problems with replacetoken

 Hi everyone,  
 
 Sorry if this topic has been covered before but I cant find the answer  I need in the archives.
 
I'm have problems with the replacetoken tag it appears that its not working
I'm trying to replace @@@2BREPLACED  multiple lines of text but when I run my build 
file nothing happens to this test.txt file, can someone point out some pointers or what I mat be doing wrong?
 
TIA,
Edward
 
<replace file="test.txt">

<replacetoken>"@@@2BREPLACED"</replacetoken>

<replacevalue><![CDATA[ multiple lines to be replaced --> ]]></replacevalue>

</replace>