I've had this problem before when just using jar to create zip files.

Have a look at:
http://developer.java.sun.com/developer/bugParade/bugs/4306807.html
http://developer.java.sun.com/developer/bugParade/bugs/4412571.html

The first is an old bug with 1.1.6 but the eval says it's been verified against
1.3.

The second is a complaint that the jar implementation does not match that of a
proper zip file.

thanks,

- Dale

On Thu, Feb 08, 2001 at 12:49:32PM +0100, Nico Seessle wrote:
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, February 07, 2001 7:50 PM
> Subject: Re: Problems with ZIP file: can't unzip Xalan distro created with
> Ant 1.2
> 
> 
> > ant-user denizens: any clues? (please cc: me directly as I'm not currently
> > on ant-user; I'll summarize for xalan-dev as needed).
> > We occasionally get users complaining that they can't unzip the Xalan
> > distributions that we create with our Ant 1.2 build.xml script.  Our
> distro
> > is built pretty simply..
> >
> >   /xml-xalan/java/build.xml
> >     <zip zipfile="${build.dir}/${dist.file}.zip" basedir="${build.dir}"
> > includes="${dist.file}/**"/>
> >
> > ..but users of a few particular zip programs can't unzip the files
> produced
> > by this - they either get an error, or a directory tree full of 0-byte
> > files.  Known unzip programs with problems include a certain version of
> > WinZip 6.0x something, and the user of VisualZip32 below.
> 
> Can you tell us the *exact* version of Ant and the zip programs used to
> unzip the zip files so we can try to reproduce this?
> 
> Nico
> 

Reply via email to