ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: After upgrading to ant 1.9.0 got error "Error opening zip file"
Date Fri, 19 Jul 2013 04:26:03 GMT
On 2013-07-18, Rene Groeschke wrote:

> Just to understand this completely. Zip64Mode.Never was the default in
> earlier ant versions and this has changed with ant 1.9.0?

Ant didn't support ZIP64 extensions at all prior to 1.9.0, so yes, in a
way "Never" was the default.  In 1.9.0 "AsNeeded" was used with no way
for the user to control it.

ZIP64 extensions are needed to support large archives or big individual
entries (bigger than 4GB).

The ZIP format knows something called "extension fields" and ZIP64 is
one such field.  ZIP readers are supposed to ignore fields they don't
know to handle but Java5's java.util.zip package will rather fail in
that case.  One of the many cases where java.util.zip is broken.

Stefan

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


Mime
View raw message