ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <tmas...@iknowledgeinc.com>
Subject Re: JUnit task problems
Date Thu, 26 Jul 2001 19:35:39 GMT
you need optional.jar in the ant_home/lib directory.

Get it from where you got ant.

----- Original Message -----
From: "Trig Gullberg" <tgullberg@sorenson.com>
To: <ant-user@jakarta.apache.org>
Sent: Thursday, July 26, 2001 1:29 PM
Subject: JUnit task problems


> Hello,
> I could use some help getting the junit task to work.  I have copied
> junit.jar into the $ANT_HOME/lib dir and I also have it referenced in my
> $CLASSPATH yet I still get this error when I run ant:
>
> Could not create task of type: junit. Common solutions are to use taskdef
to
> declare your task, or, if this is an optional task, to put the
optional.jar
> in the lib directory of your ant installation (ANT_HOME).
>
> I'm uncertain what it means to "use taskdef" (I'm new to this of course)
so
> if someone could give any suggestions or ideas I would appreciate it.
> Thanks.
>
> Trig Gullberg
> Software Engineer
> Sorenson Media
>


Mime
View raw message