Is is possible to replace special chars with ant task replace?
Hello!I got an xml file that I need to replace some values in.
In my case a "true" value.
Unfortenately I got several "true", but I should just replace the first one.
So the following wont work in my case:
<replace file="./webapp_embedded/WEB-INF/services/SimpleService/META-INF/services.xml" token="true" value="false" casesensitive="true"/>
I my idea is then to replace the line like:
<replace file="./webapp_embedded/WEB-INF/services/SimpleService/META-INF/services.xml" token="<xmltag>true</xmltag>" value="<xmltag>true</xmltag>" casesensitive="true"/>
But it seems like ant dislikes "<" inside " ".
I have alos tried ">" but it did not do the trick.
So if you guys know any better solution please let me know.
Best regards
Fredrik
