ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike McGowan" <mike.mcgo...@lawson.com>
Subject Using the JUnit optional task
Date Tue, 08 May 2001 22:55:25 GMT
I'm trying to define a Junit task.  The start of my build file looks like
this:

<project name="util" default="main" basedir=".">
	<taskdef name="junit"
classname="org.apache.tools.ant.taskdefs.junit.JUnitTask"/>
	<target name="main" depends="properties, bat, sh">

I have jakarta-ant-1.3-optional.jar in my class path.

I can't get beyond...

F:\Mainline\univ\java\src\com\lawson\rdtech\xml\util\build.xml:4: taskdef
class org.apache.tools.ant.taskdefs.junit.JUnitTask cannot
 be found
java.lang.ClassNotFoundException:
org.apache.tools.ant.taskdefs.junit.JUnitTask


What obvious thing am I missing?

Thanks in advance,
Mike McGowan
mike.mcgowan@lawson.com


Mime
View raw message