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 33626] New: - Uptodate condition is not workinge
Date Thu, 17 Feb 2005 19:49: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=33626>.
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=33626

           Summary: Uptodate condition is not workinge
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: dlcole@gmail.com
                CC: dlcole@panhandleenergy.com


Executing the following:

<uptodate property="jar.uptodate" targetfile="D:\test.html" 
srcfile="D:\test.html"/>
<echo message="jar.uptodate=${jar.uptodate}"/>

The message: jar.uptodate=true will be printed even though I am pointing to the 
exact same file. Following is the documentation taken from the 1.6.2 manual for 
Uptodate:

By default, the value of the property is set to true if the timestamp of the 
target file(s) is more recent than the timestamp of the corresponding source 
file(s). You can set the value to something other than the default by 
specifying the value attribute.

Based on the documentation, the property should not have been set at all.
This was found when I upgraded from Ant 1.5.1 to 1.6.2.
It is working as expected in 1.5.1

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