ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <>
Subject Re: Classloader problem - ZipException with Log4j, Junit, and Ant
Date Mon, 02 Jun 2003 20:15:39 GMT
Hi Matt,

Try to run ant with the -verbose command line switch turned on, maybe you
can find out which zip file or jar file ant has a problem opening.

Could you let us know :

where is located your junit.jar file ?
where is your log4j.jar ?
where did you install ant ?
send us the output of ant -verbose, and the part of your build file which
invokes JUnit too.

Background info :
Have a look at this URL which mentions some
special classpath requirements concerning junit.

To oversimplify the situation, my understanding is that you have to have
junit.jar under $ANT_HOME/lib for junit to run properly.

View raw message