DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24067>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24067

[PATCH] <propertyfile> should not touch a file it will not change semantically

           Summary: [PATCH] <propertyfile> should not touch a file it will
                    not change semantically
           Product: Ant
           Version: 1.6Beta
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If after running <propertyfile> you have made no actual changes to the
properties contained in it, it should avoid rewriting the file: changing the
timestamp might cause other tasks to think they are out-of-date etc. Important
in a big incremental build where the .properties file is used as an upstream
dependency.

There are three cases:

1. Property file did not exist before. Whether or not any keys are being added,
create the .properties file, and log a message (INFO).

2. Existed before, and we are making changes. Rewrite, log a message (INFO).

3. Existed before, and we are not making any changes. Just log a message 
(VERBOSE).

Patch includes added unit test.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to