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: [EMAIL PROTECTED]


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:
========================
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to