ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: how to preserve comments and layout of the original property file when using PropertyFile task?
Date Fri, 29 Jan 2010 10:12:09 GMT
On 2010-01-29, Steven <> wrote:

> accroding to the ant manual, i use PropertyFile task to keep the last
> dailybuild time.

> but the layout and comments in the original property file were lost.

Keeping the layout is a new feature of the task added with Ant 1.8.0.

> when i set the "jdkproperties" paramter,

> *BUILD FAILED: propertyfile doesn't support the "jdkproperties" attribute.*

Because that parameter (which turns the feature you want off, BTW) has
been added in 1.8.0 as well.

If you use 1.8.0 you get the desired behaviour by default, if you use an
earlier version you can't get it at all.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message