Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45381 invoked from network); 1 Sep 2004 15:42:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Sep 2004 15:42:41 -0000 Received: (qmail 30414 invoked by uid 500); 1 Sep 2004 15:42:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 30384 invoked by uid 500); 1 Sep 2004 15:42:27 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 30367 invoked by uid 99); 1 Sep 2004 15:42:27 -0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=RCVD_IN_NJABL_DUL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [212.81.215.132] (HELO omnilogic05ma.OTMA.OMNILOGIC.ES) (212.81.215.132) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Sep 2004 08:42:25 -0700 Received: from omnilogic05ma.OTMA.OMNILOGIC.ES ([192.168.189.8]) by omnilogic05ma.OTMA.OMNILOGIC.ES with Microsoft SMTPSVC(5.0.2195.6713); Wed, 1 Sep 2004 17:44:38 +0200 Subject: RE: problems with task MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 1 Sep 2004 17:44:37 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 content-class: urn:content-classes:message Message-ID: <1586DE6EBC0FF742BBC32EECA73847318ACC1E@omnilogic05ma.OTMA.OMNILOGIC.ES> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: problems with task Thread-Index: AcSQN/xsYyUq0oMTTcWaYBpt2lwqFwAAFvkA From: "Roberto Juarez" To: "Ant Users List" X-OriginalArrivalTime: 01 Sep 2004 15:44:38.0328 (UTC) FILETIME=[96A78380:01C4903A] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I agree with you, though our team uses a different strategy. We have a = CVS module of jars where we control the libraries we use. We do not like = to put junit.jar inside ANT_HOME/lib because there could be the need for = another copy of the junit.jar file in the lib directory of another tool, = ending with lots of junit.jars files spread over many locations. Instead = we prefer to download the jars module and have the scripts, launchers or = whatever point to the right file in the local copy of the jars module. = Most of our computers have no CLASSPATH at all and every script or = launcher builds its own classpath. In the case we have been dealing with = I have a small shell script that sets the CLASSPATH to what is needed. = When I fixed the line that forgot to put junit.jar in the CLASSPATH = everything was allright. Cheers. Roberto. > -----Mensaje original----- > De: Erik Hatcher [SMTP:erik@ehatchersolutions.com] > Enviado el: mi=E9rcoles, 01 de septiembre de 2004 17:14 > Para: Ant Users List > Asunto: Re: problems with task >=20 >=20 > On Sep 1, 2004, at 10:40 AM, Roberto Juarez wrote: >=20 > > Thanks Erik, > > > > putting junit.jar in the system CLASSPATH correctly has made it = work. >=20 > Keep in mind that putting JAR's in CLASSPATH is not a recommended Ant=20 > "best practice". JUnit's JAR, from my perspective, is such an = integral=20 > part of my builds that I put it in ANT_HOME/lib and forget about it. = > In fact, I commit Ant itself into our repository, so adding a=20 > dependency like this for our whole team is really just a 'cvs commit'=20 > for me. >=20 > Erik >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org