ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Michael Caine" <>
Subject "jar" task failing
Date Wed, 20 Jun 2001 19:37:58 GMT
i was running 1.2-1 (the only version for which i found a Debian package).
compilations and such seemed to work fine, but the "jar" task was failing,
giving me:

"Problem creating jar: ZIP file must have at least one entry"
<rest of stack trace>

so i just installed 1.3, the latest binaries, and pointed to that.  again,
it worked fine, except for the "jar" task.  so i suspect there's something
wrong with my syntax, but it sure looks a lot like the example code.  i

<target name="dist" depends="compile">
	<jar jarfile="${basedir}/build/it.jar" basedir="${basedir}/build"/>

could it be a problem with my java?  i have J2SDK 1.3.0-2.

oh, of course, there are .class files (only) in ${basedir}/build/.  i
checked that.

View raw message