On 2010-01-29, Steven <numb...@gmail.com> 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.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to