ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rene Gröschke <rene.groesc...@gradle.biz>
Subject Re: After upgrading to ant 1.9.0 got error "Error opening zip file"
Date Fri, 19 Jul 2013 05:23:06 GMT
On 19.07.2013, at 06:27, Stefan Bodewig <bodewig@apache.org> wrote:

> 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
>

Thank you very much for the detailed explanation Stefan.

Cheers,
René

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

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


Mime
View raw message