ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Crump <>
Subject Zipfileset on classpath
Date Thu, 16 Jun 2011 15:48:59 GMT

I would like to set up my JUnit classpath to include all of the jars in a
given zip file.  I'm using Ant 1.8.2. Everything I read tells me this ought
to work...

<zipfileset id="" src="/path/to/" includes="*.jar"/>

<junit ...>
      <fileset refid="".>

but verbose/debug output is telling me it's not finding the jars in the Zip:

dropping /path/to/ from path as it doesn't exist

So it appears that it's finding the Zip and the Jars in it (they are all
listed in similar "dropping" warnings) but ultimately I get
"NoClassDefFound" errors at runtime, so it's obviously not finding the Jar

Any suggestions?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message