Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 18736 invoked from network); 18 Sep 2000 18:23:02 -0000 Received: from e32.co.us.ibm.com (HELO e32.bld.us.ibm.com) (32.97.110.130) by locus.apache.org with SMTP; 18 Sep 2000 18:23:02 -0000 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.99.132.205]) by e32.bld.us.ibm.com (8.9.3/8.9.3) with ESMTP id OAA74958 for ; Mon, 18 Sep 2000 14:21:20 -0400 Received: from d25ml04.torolab.ibm.com (d25ml04.torolab.ibm.com [9.21.4.158]) by westrelay02.boulder.ibm.com (8.11.0m3/NCO v4.93) with ESMTP id e8IIN0O86634 for ; Mon, 18 Sep 2000 12:23:01 -0600 Importance: Normal Subject: Re: junit ant task To: ant-dev@jakarta.apache.org X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: From: "Glenn McAllister" Date: Mon, 18 Sep 2000 14:22:56 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 5.0.3 (Intl)|21 March 2000) at 18/09/2000 02:23:00 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N The junit task is fully functional. The problem you are running into is that the task depends on JUnit 3.2, which is not available on the machine doing the nightly build. Thus, the junit task set isn't compiled ('cause that would break the build...) and included in Ant. If you want to use the junit tasks, you need to compile Ant yourself, ensuring that JUnit is on your classpath. The docs give pretty good instructions on how to build Ant yourself. Glenn McAllister Software Developer. IBM Toronto Lab, (416) 448-3805 "An approximate answer to the right question is better than the right answer to the wrong question." - John W. Tukey Please respond to ant-dev@jakarta.apache.org To: "'ant-dev@jakarta.apache.org'" cc: Subject: junit ant task I downloaded the nightly build of ant last night and tried out some of the latest features this morning. I'm interested in the new junit optional task type. I installed JUnit 3.2 and tried using it with the junit ant task. However, when I tried this I got the following error: build.xml:35: Could not create task of type: junit because I can't find it in the list of task class definitions I suspect that this feature is not yet fully functional since it doesn't show up in the ant.jar file. I'm very interested in this feature, but haven't had time to dig into the source yet. What is the current status of the junit ant task type? -Clint