Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 42108 invoked from network); 6 Feb 2001 09:43:07 -0000 Received: from unknown (HELO mlists.bea.com) (63.96.164.109) by h31.sny.collab.net with SMTP; 6 Feb 2001 09:43:07 -0000 Received: from uppsala.beasys.com (uppsala [10.7.1.10]) by mlists.bea.com (8.9.3+Sun/8.9.1) with ESMTP id BAA29432 for ; Tue, 6 Feb 2001 01:43:31 -0800 (PST) Received: from beasys.com ([192.168.44.95]) by uppsala.beasys.com (8.9.3+Sun/8.9.1) with ESMTP id KAA18258 for ; Tue, 6 Feb 2001 10:42:00 +0100 (CET) Message-ID: <3A7FC88D.D38F89F5@beasys.com> Date: Tue, 06 Feb 2001 10:49:01 +0100 From: Mikael Eriksson Organization: BEA Systems X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: sv,en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: JUnit example request References: <000a01c08fce$308918e0$6501a8c0@cp551169a> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I think that you also need to have junit.jar in your classpath when running ant. Mikael Royston McNeill wrote: > Do you have a copy of optional.jar in your \ant\lib directory? > > -----Original Message----- > From: Spencer A Marks [mailto:smarks@digisolutions.com] > Sent: Monday, February 05, 2001 6:47 PM > To: ant-user@jakarta.apache.org; royston@pressroom.com > Subject: Re: JUnit example request > > Sorry to be punishing your quick reply with another question, but > could you explain what this means to me: > > build.xml:221: Could not create task of type: junit because I can't find it > in the list of task class definitions. Common solutions are: 1 execute > bin/bootstrap. 2 use taskdef to declare your task. 3 add the task to > defaults.properties.