pass parameters from one file to another

2009-09-25 Thread paul collins
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 manua

Re: Replace value of a parameter

2009-09-25 Thread paul collins
? ### # Edit this file before doing a release. # When finished changes, simply save and close to resume build process On Fri, Sep 25, 2009 at 10:35 AM, paul collins < paul.pcollins.coll...@gmail.com> wrote: > I have not tried this yet but how come property

Re: Replace value of a parameter

2009-09-25 Thread paul collins
I have not tried this yet but how come property file A is defined out side the target something should not be inside it? On Fri, Sep 25, 2009 at 10:13 AM, Francis GALIEGUE wrote: > On Fri, Sep 25, 2009 at 10:51, paul collins > wrote: > > I want to pass a parameter value from

Replace value of a parameter

2009-09-25 Thread paul collins
I want to pass a parameter value from one property file to another one, they both have the same name so for example I have file A with the parameter build=0999 and other file B with a number of paramters but the one I want to replace is build build=0998 So how do do I take the value of build in f