ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Whitney Hunter <>
Subject junit task
Date Wed, 12 Sep 2001 16:19:53 GMT

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