On Fri, Sep 25, 2009 at 10:51, paul collins
<[email protected]> wrote:
> 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 file A and replace the value of
> build in file B.
> The values are changing constantly so the values are wildcard
>
> Thanks
>
<property file="A"/>
<target name="something">
<propertyfile file="B">
<entry key="build" value="${build}" operation="="/>
</propertyfile>
</target>
Note that operation="=" is the default.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
[email protected]
40 avenue Raymond Poincaré
75116 Paris
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]