ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <erikhatc...@earthlink.net>
Subject Re: junit problems
Date Mon, 13 Aug 2001 16:45:58 GMT
How about optional.jar??


----- Original Message -----
From: "Peter Nilsson" <peter.nilsson@roqport.com>
To: "ant" <ant-user@jakarta.apache.org>
Sent: Monday, August 13, 2001 9:42 AM
Subject: junit problems


> Hi,
> I can't get junit tasks to work.
>
> My build.xml looks like this (part of it):
>
> <target name="test" >
> <junit fork="yes" printsummary="yes">
> <test name="simsn.monitor.TestLogDetails"
> todir="${junit.results}"
> />
> </junit>
> </target>
>
> Following happens when I run Ant:
>
> J:\test\ant>ant test
> Buildfile: build.xml
>
> test:
>
> BUILD FAILED
>
> J:\test\ant\build.xml:153: 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).
>
> Total time: 1 second
> J:\test\ant>
>
> I have put junit.jar into the lib directory and also have added junit.jar
to
> the classpath...but it still doesn't work.
>
> Any ideas are appreciated!
>
> Thanks,
> Peter
>
>
>
>
>


Mime
View raw message