Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 15940 invoked from network); 13 Mar 2006 15:39:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Mar 2006 15:39:38 -0000 Received: (qmail 62261 invoked by uid 500); 13 Mar 2006 15:39:33 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 62199 invoked by uid 500); 13 Mar 2006 15:39:32 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 62183 invoked by uid 99); 13 Mar 2006 15:39:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 07:39:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of adam.stroud@gmail.com designates 64.233.162.204 as permitted sender) Received: from [64.233.162.204] (HELO zproxy.gmail.com) (64.233.162.204) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 07:39:31 -0800 Received: by zproxy.gmail.com with SMTP id 9so1249964nzo for ; Mon, 13 Mar 2006 07:39:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=at0WwWUKFGnu+I6FlhJVQPS9XI3lMiuuuUP+nl8/GZIj+ooVqtPGUaKhjpbSlT/nbAKq5ZCdYjpQyKhrhk4rdZyhoUeh71nae2GmCdLQhVeNoQviWFEhUKjPcBubjxPClIjwMrHMEhq7dgEjGoT1FLc4g5Lxm+vMnW+4f0QFy3k= Received: by 10.36.247.71 with SMTP id u71mr1168382nzh; Mon, 13 Mar 2006 07:39:11 -0800 (PST) Received: by 10.36.46.13 with HTTP; Mon, 13 Mar 2006 07:39:11 -0800 (PST) Message-ID: Date: Mon, 13 Mar 2006 10:39:11 -0500 From: "Adam Stroud" To: "Ant Users List" Subject: Re: Ant and Junit In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thank you for the info. Do know where in the subversion repo the fix is? I dont know my way around ants svn repo. Thanks A On 3/13/06, Peter Reilly wrote: > This is an on-going problem. > There is a fix in the SVN repository for this. In the meantime > my advice would be to place the junit.jar in $ANT_HOME/lib > or in ~/.ant/lib. > > For a full explation read: > http://ant.apache.org/faq.html#delegating-classloader > > Peter > > > On 3/12/06, Adam Stroud wrote: > > > > All: > > > > I just have a question about ant and junit. I have been trying to get > > junit to work cleanly with ant for a few days now. Based on the > > searching I have done on the Internet it seems that this is somewhat > > problematic. Anyways, I have chosen to go the route of removing > > ant-junit.jar from ANT_HOME/lib and adding it (along with junit.jar) > > to a directory inside the relative path of my build.xml; I also > > taskdef the junit task and use the junit task with a "fork" inside my > > build.xml. With this setup, the junit tests are run and all seems > > well. My question is that with this setup I am getting the following > > message: > > > > "Trying to override old definition of datatype junit" > > > > What is causing this message and how can I remedy the situation? I > > presume that I am getting this because of my taskdef statement. What > > I dont understand is why it seems like the junit task is already > > defined when I have moved the ant-junit.jar file to another location > > that I I only add to the classpath in a nested fashion when I build > > the test code and run the junit tests. > > > > Any help/direction would be appreciated. > > > > A > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org