ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: unzip PK 2.1 zip files
Date Fri, 05 Oct 2007 03:48:04 GMT
On Thu, 4 Oct 2007, Rob Anderson <> wrote:

> I am getting an error when trying to unzip a PK 2.1 compressed zip
> file.
> BUILD FAILED /home/rande4/build.xml:7:
> java.lang.IllegalArgumentException: invalid compression method

The ZIP "standard" defines several compression methods for files
inside the archive and Ant's ZIP classes (like the
classes) only support two of them (store uncompressed and deflate
which uses the same algorithm as gzip).  The archive you are trying to
extract has been created using a different algorithm, maybe it is

Sorry I can't do more than explain why you see the exception, there is
no Ant internal solution to it.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message