ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Royston McNeill" <>
Subject RE: Doesn't see optional.jar
Date Wed, 28 Feb 2001 00:01:17 GMT
You need to have "junit.jar" in your system CLASSPATH.  While "optional.jar"
contains the interface for junit,
junit.jar contains the implementation.

-----Original Message-----
From: Gary Lawson []
Sent: Tuesday, February 27, 2001 11:49 AM
Subject: Doesn't see optional.jar

We're trying to use the junit optional task, using the following section in

      <classpath refid="project.classpath" />
      <formatter type="plain" />
      <test name="com.sferics.campfiretest.AllTests" haltonfailure="no" />

optional.jar is in /ant/lib and is referenced on the CLASSPATH (belts and

Despite this, we still get the following error:

/home/gary/build.xml:87: 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

Any ideas?

View raw message