<?xml version="1.0" ?>
<project default="test" name="junit.antlib">
<path id="ant.deps" >
<fileset dir="lib" >
<include name="junit-3.8.1.jar"/>
</fileset>
</path>
<classloader classpathRef="ant.deps" />
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
</project>

Fails with
$ ant
Buildfile: build.xml

BUILD FAILED
C:\tools\ant-head\tools\antlibs\junit-0.1.1-dev-20030618.antlib\build.xml:12: ta
skdef: A class needed by class org.apache.tools.ant.taskdefs.optional.junit.JUni
tTask cannot be found: junit/framework/TestListener

Total time: 1 second


How is this suppose to work?

I see the use parent for org.apache.tools.ant.
and the then use loader for org.apache.tools.ant.taskdefs.optional.
But it does not seem to work.  Any ideas?

R,
Nick



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to