On Thu, 4 Oct 2007, Rob Anderson <[EMAIL PROTECTED]> 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 java.util.zip 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 encrypted. Sorry I can't do more than explain why you see the exception, there is no Ant internal solution to it. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
