ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ernst de Haan <zn...@FreeBSD.org>
Subject junit task with custom classpath (Ant 1.6.0)
Date Thu, 08 Jan 2004 16:50:25 GMT
How do I let Ant 1.6.0 find the junit.jar on a location I specificy?

This is what I tried. This is my directory structure:

   build.xml
   jars/junit.jar

See the attached build.xml.

The junit-avail task does not fail, but the junit-task does! What do I do 
wrong?

This is the output:

$ ant
Buildfile: build.xml

junit-avail:

junit-task:

BUILD FAILED
/usr/home/ernst/tmp/test/build.xml:18: taskdef A class needed by class 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found: 
junit/framework/TestListener


Ernst



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message