ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jill Stephenson" <jill.stephen...@suncorpmetway.com.au>
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.

--
Jill

----- Original Message ----- 
From: "Bryan P. Glennon" <bryan@bpgc.com>
To: <ant-user@jakarta.apache.org>
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
(ANT_HOME).

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?

Thanks,
Bryan
--
Bryan Glennon (mailto:bryan@bpgc.com)
BPG Consulting, Inc. (http://www.bpgc.com)
Tech Question? (mailto:techQuestion@bpgc.com)

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>



-----------------------------------------------------------------------------------

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).

http://www.suncorpmetway.com.au


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message