ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mitchell Ackermann" <>
Subject Re: junit task
Date Wed, 12 Sep 2001 16:29:12 GMT
do you have the junit.jar in ant's classpath? see

Mitchell Ackermann

----- Original Message ----- 
From: Whitney Hunter <>
To: 'Ant User List' <>
Sent: Wednesday, September 12, 2001 11:19 AM
Subject: junit task


I am trying to use the junit task this morning on Windows 2000. I am getting
the following error:

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 do have the optional.jar in the lib directory and I am successfully using
the ejbjar task that I believe is also in the optional.jar. Does anyone have
any idea what to problem might be?

Whitney Hunter

View raw message