ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jill Stephenson" <>
Subject Re: JUnit optional task
Date Mon, 10 Dec 2001 22:27:33 GMT
Add JUNIT_HOME/junit.jar to your classpath before
invoking ant.


----- Original Message ----- 
From: "Bryan P. Glennon" <>
To: <>
Sent: Tuesday, December 11, 2001 8:18 AM
Subject: JUnit optional task

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: <>


The contents of this message are the views of the Author and do not necessarily reflect the
views of SUNCORP METWAY LTD  ABN 66 010 831 722. 

The content of this e-mail, including attachments is a confidential communication between
the Suncorp Metway Group and the intended addressee. Any unauthorised use of the contents
is expressly prohibited. If you have received this e-mail in error please contact the sender
immediately and then delete the message and any attachment(s).

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

View raw message