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 10755] - Ant 1.5's jar task fails to add new files when run multiple times
Date Mon, 27 Jan 2003 13:32:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10755>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10755

Ant 1.5's jar task fails to add new files when run multiple times





------- Additional Comments From bodewig@apache.org  2003-01-27 13:32 -------
Peter, we have a combination of problems here.

First, there has been a platform issue, that should be fixed now.  Could you 
please retry with the next nightly build (-01-28) or use this one
<http://cvs.apache.org/~bodewig/ant.jar>?

The second problem is your test with a file that is only half a second newer than
the one stored last time around, this is not going to work by any means.

ZIP archives store time with a granularity of two seconds.  If we want to avoid
an "always updates" problem, we need to round up to the next higher even number
of seconds when storing the entries - this may lead to situations where <zip> and
friends will not update an archive for a newer file, if that file is less than
two seconds newer than the originally stored one.  I don't see a solution here.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message