ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul collins <paul.pcollins.coll...@gmail.com>
Subject pass parameters from one file to another
Date Fri, 25 Sep 2009 12:05:51 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message