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 17780] - Instead of updating a jar file, the task overrides it.
Date Mon, 10 Mar 2003 21:16:05 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=17780>.
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=17780

Instead of updating a jar file, the task overrides it.





------- Additional Comments From levylambert@tiscali-dsl.de  2003-03-10 21:16 -------
I believe these lines should be removed from Zip.java#executeMain


            // quick exit if the target is up to date


            // can also handle empty archives


            if (isEmpty(addThem)) {


                return;


            }


This quick exit prevents the old zip entries from being copied from the old 
archive to the new when one is in update mode and that there is no file to add.

Mime
View raw message