You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/11/05 17:05:53 UTC

DO NOT REPLY [Bug 29988] - Zip task Update mode adds all zip entries even though only one file is updated

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