Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 42694 invoked from network); 3 Jun 2005 06:07:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jun 2005 06:07:35 -0000 Received: (qmail 33769 invoked by uid 500); 3 Jun 2005 06:07:27 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 33694 invoked by uid 500); 3 Jun 2005 06:07:27 -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 33672 invoked by uid 99); 3 Jun 2005 06:07:26 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from dnsinet.rzf-nrw.de (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Jun 2005 23:07:24 -0700 Received: from z011100.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id j5366jRs029542 for ; Fri, 3 Jun 2005 08:06:45 +0200 Received: from z011104.bk.fin.local ([130.11.7.104]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Fri, 3 Jun 2005 08:06:42 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2657.72) id ; Fri, 3 Jun 2005 08:06:42 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B5614F607C4@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: AW: taskdef can't find junit.framework.Test Date: Fri, 3 Jun 2005 08:06:38 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C56802.6777B990" X-OriginalArrivalTime: 03 Jun 2005 06:06:42.0945 (UTC) FILETIME=[6A1D3710:01C56802] X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C56802.6777B990 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To really ensure that JUnit is on Ant=B4s classpath, you could print it = out classpath: ${java.class.path} But putting junit.jar into ${user.home}/.ant/lib should help. Or starting Ant with=20 -lib Jan > -----Urspr=FCngliche Nachricht----- > Von: Hyrum [mailto:hyrum@t-rmarket.com] > Gesendet am: Freitag, 3. Juni 2005 01:16 > An: user@ant.apache.org > Betreff: taskdef can't find junit.framework.Test >=20 > Hello all. >=20 > =20 >=20 > I am using the Eclipse 3.1 IDE, am on windows 2000, and am using > ant-1.6.2(built into eclipse). >=20 > =20 >=20 > My build fails with the following error: >=20 > =20 >=20 > BUILD FAILED:=20 > C:\eclipse\workspace\CactusTestTest\build.xml:34: taskdef A > class needed by class=20 > org.apache.cactus.integration.ant.CactusTask cannot be > found: junit/framework/Test >=20 > =20 >=20 > I have checked and double checked, and that class is definitly on the > classpath. As far as I can see, it should be available. I have = tried > adding it to Eclipse's Ant->Runtime->Classpath settings, and=20 > to Ant's home > lib directory, with no success. I've also tried adding=20 > manual enties for > each tasks, to which it always fails on the "cactus" taskdef,=20 > with the same > above error. >=20 > =20 >=20 > Any ideas? >=20 > =20 >=20 > ------------------------------------------------ >=20 > =20 >=20 > >=20 > basedir=3D".">=20 >=20 > =20 >=20 > >=20 > =20 >=20 > CactusTestTest "/> >=20 > value=3D"${tomcat.home}/common/lib/servlet-api.jar"/> >=20 > value=3D"${tomcat.home}/common/lib/jsp-api.jar"/> >=20 > value=3D"${tomcat.home}/webapps"/> >=20 > >=20 > value=3D"${basedir}\WEB-INF/classes" > /> >=20 > value=3D"./jspclasses" /> >=20 > value=3D"WebRoot/WEB-INF" /> >=20 > value=3D"${webinf.dir}/classes" /> >=20 > value=3D"${webinf.dir}/lib" /> >=20 > value=3D"${basedir}/src" /> >=20 > =20 >=20 > >=20 > =20 >=20 > =20 >=20 > =20 >=20 > >=20 > =20 >=20 > >=20 > CactusTestTest" /> >=20 > =20 >=20 > >=20 > =20 >=20 > classpathref=3D"cactus.classpath" /> >=20 > >=20 > =20 >=20 > >=20 > >=20 > >=20 > =20 >=20 > =20 >=20 > >=20 >=20 ------_=_NextPart_001_01C56802.6777B990--