Ant Package Problem with JUnit task

Jason Voegele jason@jvoegele.com
Wed Jun 16 08:16:01 2004


Hello,

I'm using the ant package from Debian unstable and I'm having trouble with
the 'junit' ant task.  I have a build file that uses the 'junit' task, but
when I execute 'ant test' I get the following error.

<error>
BUILD FAILED
/home/us14904/projects/Mike Albert/mal-ca/build.xml:88: Could not create
task or type of type: junit.

Ant could not find the task or a class this task relies upon.
...
</error>

I've noticed that there is no 'optional.jar' in /usr/share/ant/lib,
although there is an ant-junit.jar.  Any ideas on what must be done to
make the junit task work with this package?

Thank you,
-- 
Jason Voegele
"There is an essential core at the center of each man and woman that
remains unaltered no matter how life's externals may be transformed
or recombined. But it's smaller than we think."
    -- Gene Wolfe, The Book of the Long Sun