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 26443] - zip update=false does not overwrite zip file when file deleted
Date Fri, 30 Jan 2004 15:08:51 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=26443>.
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=26443

zip update=false does not overwrite zip file when file deleted





------- Additional Comments From mlottman@carefx.com  2004-01-30 15:08 -------
The java doc is pretty clear on what update=false (no) should do:

"The update parameter controls what happens if the ZIP file already exists. 
When set to yes, the ZIP file is updated with the files specified. (New files 
are added; old files are replaced with the new versions.) When set to no (the 
default) the ZIP file is overwritten."

So I disagree that the way that it is working is the expected behaviour.  If I 
set update to false, the zip file should always be overwritten, it should not 
depend on any time stamps, in fact it should'nt look at the existing zip at 
all.  I think this is a bug.

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


Mime
View raw message