I have thousands of properties in a property file, and I want to change only one property, for example the following.
<propertyfile file="${mypropetyfile}"> <entry key="jndiname" value="java:comp/env/wm/default"/> </propertyfile>
but in the properties file I get the value of the property with an extra \ :
jndiname=java\:comp/env/wm/default
I tried to execute the <echo> task, but it removes other properties. I also tried concatenation, as in this case, and get extra \
<propertyfile file="${mypropetyfile}"> <entry key="jndiname" default="" operation="+" value="java:comp/env/wm/default"/> </propertyfile>
ant
Vinayaka kulkarni
source share