I was supplied a script by Francis Galiegue see below which passes a
parameter value from one property file to another one, which works for me
see below, but I have comments in file B see below for example that I want
to keep, but these are removed when I run this script. From reading the ANT
manual if I use the entry kek term I lose my comments in the file B, is
there another way of doing this?
###############################################################################
#   Edit this file before doing a release.
#   When finished changes, simply save and close to resume build process


<property file="A"/>

<target name="something">
   <propertyfile file="B">
       <entry key="build" value="${build}" operation="="/>

   </propertyfile>
</target>

Note that operation="=" is the default.

Reply via email to