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 43665] New: - dependset complaints about files from the future when they are 0.5s old
Date Sat, 20 Oct 2007 15:39:26 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=43665>.
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=43665

           Summary: dependset complaints about files from the future when
                    they are 0.5s old
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: kimhanse@gmail.com


I have noticed that triggering a dependset task right after a build causes the
dependset to complaint about future files. I think it is caused by the Date
ResourceSelector's granularity of 1s on UNIX systems, this means that a file
0.5s old is seen as from the future.

I don't think the bug causes any kind of errors in the files build, but it
lowers my colleagues trust in Ant.

This is an example showing the complaints:
========================
kim@raph:~/orion/svn/repo3/servlet/frontend$ ant clean build build
Buildfile: build.xml

clean:
   [delete] Deleting directory /mnt/crypt/orion/svn/repo3/servlet/frontend/build

build:
    [mkdir] Created dir: /mnt/crypt/orion/svn/repo3/servlet/frontend/build/classes
    [javac] Compiling 91 source files to
/mnt/crypt/orion/svn/repo3/servlet/frontend/build/classes

build:
[dependset] Warning:
/mnt/crypt/orion/svn/repo3/servlet/frontend/build/classes/dk/ange/orion/servlet/format/jobs/PrerunWarnings$1.class
modified in the future.
[dependset] Warning:
/mnt/crypt/orion/svn/repo3/servlet/frontend/build/classes/dk/ange/orion/servlet/format/jobs/PrerunWarnings$BasicWarning.class
modified in the future.
[dependset] Warning:
/mnt/crypt/orion/svn/repo3/servlet/frontend/build/classes/dk/ange/orion/servlet/format/jobs/PrerunWarnings$FormattedWarning.class
modified in the future.
[dependset] Warning:
/mnt/crypt/orion/svn/repo3/servlet/frontend/build/classes/dk/ange/orion/servlet/format/jobs/PrerunWarnings$ParseWarning.class
modified in the future.
[dependset] Warning:
/mnt/crypt/orion/svn/repo3/servlet/frontend/build/classes/dk/ange/orion/servlet/format/jobs/PrerunWarnings$StabWarning.class
modified in the future.
[dependset] Warning:
/mnt/crypt/orion/svn/repo3/servlet/frontend/build/classes/dk/ange/orion/servlet/format/jobs/PrerunWarnings$TooFewMovesWarning.class
modified in the future.
[dependset] Warning:
/mnt/crypt/orion/svn/repo3/servlet/frontend/build/classes/dk/ange/orion/servlet/format/jobs/PrerunWarnings.class
modified in the future.

BUILD SUCCESSFUL
Total time: 9 seconds
kim@raph:~/orion/svn/repo3/servlet/frontend$

-- 
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