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=42774>.
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=42774

           Summary: dependset incorrectly evaluates newest source when over
                    24 days old
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: regression
          Priority: P1
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


The dependset task returns older source file as newer when a file included in
srcfileset is older than 24 days (the cutoff is actually 35791 minutes). 
Dependset works as expected in versions 1.6.2 and 1.6.5.  The result (in 1.7.0)
is that target files are not deleted if any source files are over 24 days old.

To reproduce:
1. Create a target file, a source file newer than the target file, and another
source file with a timestamp of (at least) 25 days old.
2. Create a target that includes the following code:
  <dependset>
    <srcfileset dir="${src.dir}"/>
    <targetfilelist dir="${obj.dir}" files="target.file"/>
   </dependset>
3. Invoke "ant <target> -verbose -debug".

The oldest source file be reported as "newest source".

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