Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 78945 invoked from network); 15 Mar 2004 11:45:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Mar 2004 11:45:33 -0000 Received: (qmail 56643 invoked by uid 500); 15 Mar 2004 11:45:08 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 56577 invoked by uid 500); 15 Mar 2004 11:45:08 -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 56514 invoked from network); 15 Mar 2004 11:45:07 -0000 Received: from unknown (HELO pegasus.axiomsystems.com) (194.42.245.4) by daedalus.apache.org with SMTP; 15 Mar 2004 11:45:07 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Requiring jar files in classpath (or $ANT_HOME/lib) fortaskdefs Date: Mon, 15 Mar 2004 11:16:58 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Requiring jar files in classpath (or $ANT_HOME/lib) fortaskdefs Thread-Index: AcQKfb0007bTuQqVTDKBWjPQ+AofNQAARDMg From: "Keith Hatton" To: "Ant Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Yes, I know it's a complex area with no easy solution. I was just adding = my $0.02. Thanks for reminding me about the -lib option - I should look into that = - it would be another reason to drag people up to Ant 1.6 :) Keith -----Original Message----- From: Stefan Bodewig [mailto:bodewig@apache.org] Sent: 15 March 2004 11:08 To: user@ant.apache.org Subject: Re: Requiring jar files in classpath (or $ANT_HOME/lib) fortaskdefs On Mon, 15 Mar 2004, Keith Hatton wrote: > With respect, I think that misses the point. Quite possible. > The problem is, for JUnit and other Ant-optional tasks (i.e. those > defined in some sense in ANT_HOME/lib), they won't "just work" > without fiddling with either distro (i.e. move JUnit files -> Ant, > or move Ant files -> JUnit). They do if you are willing to modify CLASSPATH or use ~/.ant/lib (thanks Peter for reminding us) or the -lib command line option. > I understand the issues and I have no solution to offer One solution would be to not ship the junit tasks with the Ant distribution at all. This would make quite a few users of Ant less happy. It wouldn't help you either. You'd have to download the additional jar into a know location (I'm simply assuming your developers need ) and adapt all those build files to point to it. If you take this additional step, you can as well modify the Ant installation to not contain the jar. With 1.6 and we've introduced the infrastructure for a more modular Ant. It is very well possible that we'll start to split up Ant into a core distribution and independent Ant libraries in the future. We'll still have to maintain distributions that contain all the tasks from Ant 1.6.x for backwards compatibility reasons, but we may have additional distribution forms that will make things easier. We are aware of the problem, we are working towards solutions, but we are strongly bound by our committments to backwards compatibility. Stefan --------------------------------------------------------------------- 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