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 42774] New: - dependset incorrectly evaluates newest source when over 24 days old
Date Thu, 28 Jun 2007 23:22:30 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=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: edm@attachmate.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message