ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Eriksson <>
Subject Re: optional.jar
Date Sun, 29 Oct 2000 11:47:11 GMT

 I had the same problem a little while ago. You need to have junit.jar
in your classpath when running ant. (It will not help to put it
in the build.xml's classpatsh, you will have to have it in the shell that
runs ant.)

 Mikael Eriksson wrote:

> I downloaded optional.jar and placed it in ${ANT_HOME}/lib. When I try to
> execute the junit task I get the following output:
> /home/chelck/public_html/Checkout/Bp/TaPhase2/build.xml:128: Could not
> create task of type: junit because I can't find it in the list of task class
> definitions.  Common solutions are: 1 execute bin/bootstrap. 2 use taskdef
> to declare your task. 3 add the task to
> What am I missing?
> Thanks,
> Chris

View raw message