ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43032] New: - jar reports warning class modified in future on Windows
Date Sat, 04 Aug 2007 15:38:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43032>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43032

           Summary: jar reports warning class modified in future on Windows
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: R.Lamprecht@t-online.de


On a small project with just a few classes a target "all" that compiles and
builds the jar task will result in warnings "*.class modified in the future" for
each class.

This happens only on Windows (XP, Vista tested) with ant 1.7.0 (current nightly
build, too). Ant 1.6.2 and other operating systems look fine. It is likely
related to the 2s timestamp resolution on Windows. Similar problems have been
reported for early ant versions about 1.3 in general for Windows.

A nasty workaround is to add a <sleep seconds="2" /> for the jar target. One
second results just in less classes reporting the warning depending on the
boundary of the seconds.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message