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 29988] - Zip task Update mode adds all zip entries even though only one file is updated
Date Fri, 05 Nov 2004 16:05:53 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=29988>.
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=29988

Zip task Update mode adds all zip entries even though only one file is updated





------- Additional Comments From bodewig@apache.org  2004-11-05 16:05 -------
This is because the tasks in Ant 1.4 simply were wrong.

They only compared the files on your disk with the archive itself - and would miss
cases where the files inside the archive were older than the ones on your disk.

Later versions of Ant introspect the archive and compare the timestamps on your
disk with the timestamps inside the archive.

Still, it shouldn't update all your files.  If you run Ant with -verbose it will
tell you why it thinks that the files on your disk are newer than the ones inside
of the archive.

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


Mime
View raw message