https://issues.apache.org/bugzilla/show_bug.cgi?id=44913
--- Comment #1 from David Green <[EMAIL PROTECTED]> 2008-05-07 09:47:44 PST ---
I have encountered the same problem, however the problem only comes up when
using a simple Ant build script.
The Ant build script does the following steps:
1. Create a zip file containing one file, a jar
1.a. Test unzipping the original jar file to ensure that it is valid/works
2. Unzip the zip file
3. Unzip the jar file from the unzipped zip file
At step 3 the unzip operation fails. Note that this problem occurs only using
an Ant build script with no custom classes or coding. Here's the exception
that I get:
java.io.EOFException
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:383)
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:361)
at
org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:267)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:143)
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:136)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.