ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject FW: Problems with org.apache.tools.ant.taskdefs.Zip
Date Tue, 26 Dec 2000 18:41:46 GMT
maybe someone would like to answer him?

-jon


----------
From: Carlos Valiente <carlos@difernet.com>
Date: Mon, 25 Dec 2000 19:30:50 +0100
To: duncan@x180.com, jon@clearink.com
Subject: Problems with org.apache.tools.ant.taskdefs.Zip

Hello (and merry Xmas),

I'm trying to compile ant using Kaffe, an open source VM. I'm stuck with jar
file generation: When a jar task is reached, I get the following error:

jar:
      [jar] Building jar:
/home/carlos/src/java/jakarta-cvs/build/ant/lib/ant.jar
 
BUILD FAILED
 
java.lang.Error: buffer error
        at java.util.zip.Deflater.deflate(Deflater.java:native)
        at 
java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:50)
        at 
java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:64)
        at java.util.zip.ZipOutputStream.write(ZipOutputStream.java:324)
        at org.apache.tools.ant.taskdefs.Zip.zipFile(Zip.java:364)
        at org.apache.tools.ant.taskdefs.Zip.zipFile(Zip.java:374)
        at 
org.apache.tools.ant.taskdefs.Jar.initZipOutputStream(Jar.java:92)
        at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:166)
        at org.apache.tools.ant.Target.execute(Target.java:142)
        at org.apache.tools.ant.Project.runTarget(Project.java:818)
        at org.apache.tools.ant.Project.executeTarget(Project.java:532)
        at org.apache.tools.ant.Project.executeTargets(Project.java:506)
        at org.apache.tools.ant.Main.runBuild(Main.java:400)
        at org.apache.tools.ant.Main.main(Main.java:130)

The culprit seems to be the method zipFile in line 364. I'd like to help
fixing that problem, but I'm pretty lost. Could you perhaps give me any
clues 
at how (or where) to start?

Thanks a lot for your work in ant, by the way!

Carlos Valiente <carlos@difernet.com>



Mime
View raw message