ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murphy, Tom (T06)" <>
Subject Zip Exception during build, but build completes successfully
Date Mon, 24 Mar 2003 16:29:01 GMT
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
sgNo=7271) but didn't get a response.  Any help is appreciated.

My stack trace err msg follows: error in opening zip file
	at Method)
	at java.util.jar.JarFile.<init>(
	at java.util.jar.JarFile.<init>(
	at sun.misc.URLClassPath$JarLoader.getJarFile(
	at sun.misc.URLClassPath$JarLoader.<init>(
	at sun.misc.URLClassPath$
	at Method)
	at sun.misc.URLClassPath.getLoader( Code))
	at sun.misc.URLClassPath.getLoader( Code))
	at sun.misc.URLClassPath.getResource(
	at Method)
	at java.lang.ClassLoader.loadClass(
	at sun.misc.Launcher$AppClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	at java.lang.Class.forName1(Native Method)
	at java.lang.Class.forName(

View raw message