Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 31652 invoked from network); 24 Mar 2003 16:30:27 -0000 Received: from napis66.naptheon.com (205.128.202.66) by daedalus.apache.org with SMTP; 24 Mar 2003 16:30:27 -0000 Received: by napis66.naptheon.com; id LAA11422; Mon, 24 Mar 2003 11:30:29 -0500 (EST) Received: from mail.nns.com(172.30.10.115) by napis66.naptheon.com via smap (V5.5) id xmac10835; Mon, 24 Mar 03 11:29:04 -0500 Received: from npeimc02.nns.com ([172.30.18.167]) by nprdeg02. (NAVGW 2.5.1.13) with SMTP id M2003032411280116029 for ; Mon, 24 Mar 2003 11:28:01 -0500 Received: by npeimc02.nns.com with Internet Mail Service (5.5.2653.19) id <1BPMJ7RT>; Mon, 24 Mar 2003 11:29:02 -0500 Message-ID: From: "Murphy, Tom (T06)" To: "'Ant Users List'" Subject: Zip Exception during build, but build completes successfully Date: Mon, 24 Mar 2003 11:29:01 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Using Java 1.3.1 on AIX 5.2, I get a ZipException during the build process. Normally I'd think it's a path/classpath problem, but here the rest of the build completes successfully. Running Ant with the -debug flag, the exception occurs after the lines Apache Ant version 1.5.1 compiled on October 2 2002 Buildfile: build.xml but before the line Detected Java version: 1.3 in: /usr/java131/jre After that, as I said, build completes successfully. My project doesn't use any zip files, and the error seems to occur while Ant is "setting up"--i.e., before processing my stuff--so I'm not sure what file it's trying to open. Does anyone know? A similar question was asked a while back (http://archives.apache.org/eyebrowse/ReadMsg?listName=user@ant.apache.org&m sgNo=7271) but didn't get a response. Any help is appreciated. My stack trace err msg follows: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:127) at java.util.jar.JarFile.(JarFile.java:138) at java.util.jar.JarFile.(JarFile.java:80) at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:526) at sun.misc.URLClassPath$JarLoader.(URLClassPath.java:491) at sun.misc.URLClassPath$2.run(URLClassPath.java:287) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java(Compiled Code)) at sun.misc.URLClassPath.getLoader(URLClassPath.java(Compiled Code)) at sun.misc.URLClassPath.getResource(URLClassPath.java:162) at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:675) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:238) at java.lang.ClassLoader.loadClass(ClassLoader.java:514) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:441) at java.lang.ClassLoader.loadClass(ClassLoader.java:446) at java.lang.Class.forName1(Native Method) at java.lang.Class.forName(Class.java:142) at org.apache.tools.ant.util.JavaEnvUtils.(JavaEnvUtils.java:125) at org.apache.tools.ant.Main.runBuild(Main.java:567) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235)