Hi,
there are a lots of ways to write to a property file in ant.
Look at the following :
<echo file="some.properties">
somekey=somevalue
</echo>
there is also the propertyfile task which can do some limited
arithmetics on properties (in the Optional Tasks section of the manual).
there might also be the option of using the <copy/> task with a
nested filterchain (see explanations about filterchains under
Concepts and Types).
Regards,
Antoine
On Dec 19, 2006, at 5:44 AM, jm wrote:
hi,
I have been looking for a way to set a property in a .properties file
via ant. Could not find any easy way...somebody knows a way to do it
or a external task or something?
I know about the <replace> stuff, but I am trying to change the
property without knowing the value it had before, that is, I cannot
assume it is '[EMAIL PROTECTED]@'
thanks,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]