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] - Uptodate condition is not workinge
Date Fri, 18 Feb 2005 16:39:22 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





------- Additional Comments From dlcole@gmail.com  2005-02-18 17:39 -------
(In reply to comment #0)
> 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

Thanks for the reply.
I was able to change my logic to make this work.
It would be helpful if the documentation is updated, especially because the way 
the logic is setup now, it's pretty confusing and almost does not match with 
the condition name anymore. I'm not suggesting that the condition name be 
changed, but it does seem that the condition would now be better named: updated 
instead of uptodate. Updating the documentation would be a great help in the 
future.

Thanks.


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