ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan P. Glennon" <>
Subject JUnit optional task
Date Mon, 10 Dec 2001 22:18:29 GMT
When I try to use the Junit task (with ant 1.4.1, Junit 3.7 and
jdk1.2.2) I get 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

Well, optional.jar is in the ANT_HOME/lib dir (as is
jakarta-ant-1.4.1-optional.jar.) Actually, optional.jar is just a copy
of jakarta-ant-1.4.1-optional.jar.

So, what am I doing wrong?

Bryan Glennon (
BPG Consulting, Inc. (
Tech Question? (

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message