ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David McTavish <>
Subject RE: MergeProperties Task
Date Mon, 03 Feb 2003 19:10:38 GMT
The problem is that we have configuration files that we ship to our
end-customer, and we add ALOT of documentation via comments to allow the
user to understand what is going on. To append the new over-ride property to
the end, would have rendered the comments useless. That is why I built the
task, so that it would preserve user comments, and update the value
in-place. It is essentially a mixture between the replace and the concat
Also, the merge task would copy user comments from the delta file to the
final configuration file provided the property did not exist.

-----Original Message-----
From: David Clements []
Sent: Friday, January 31, 2003 5:23 PM
To: 'Ant Users List'
Subject: RE: MergeProperties Task

I wonder if you did a <concat> if you would get the effect that you want. would then equal


When read in, I am guessing,  b=4 would overidw b=2.


View raw message