Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 89968 invoked from network); 23 Apr 2003 13:23:41 -0000 Received: from almso2.att.com (HELO almso2.proxy.att.com) (192.128.166.71) by daedalus.apache.org with SMTP; 23 Apr 2003 13:23:41 -0000 Received: from attrh0i.attrh.att.com ([135.37.94.54]) by almso2.proxy.att.com (AT&T IPNS/MSO-4.0) with ESMTP id h3NCxrka002281 for ; Wed, 23 Apr 2003 09:23:30 -0400 (EDT) Received: from acclust02evs1.ugd.att.com (135.37.16.9) by attrh0i.attrh.att.com (6.5.019) id 3E90501700A886E0 for user@ant.apache.org; Wed, 23 Apr 2003 09:23:30 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: includeAntRuntime Date: Wed, 23 Apr 2003 09:23:28 -0400 Message-ID: <126C77D3993DC640B8C9012D54A3C460046B2C24@ACCLUST02EVS1.ugd.att.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: includeAntRuntime Thread-Index: AcMJmsiSy64LSkgmSrqIUGJqcVKyIQAAI50A From: "Tharp, Joshua L, SOLGV" To: "Ant Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N That's the way to do it. There is no real drawback to doing it (unless you are inadvertently depending on any CLASSPATH settings that exist external to your build file). ;) Josh -----Original Message----- From: Erik Price [mailto:eprice@ptc.com]=20 Sent: Wednesday, April 23, 2003 6:16 AM To: Ant Users List Subject: includeAntRuntime Hi, If I understand correctly, the task inherits the contents of the CLASSPATH environment variable (as well as any libraries in=20 $ANT_HOME/lib) indirectly from the Ant runtime. Please stop me here if=20 I am wrong. Quick question: If I want to ensure that this environment variable is *not* inherited=20 (so I can be assured that I am not inadvertently depending on any=20 CLASSPATH settings that exist external to those specified in my build=20 file), what is the recommended solution? At first I would have thought=20 that setting an explicit classpath to use would override any existing=20 classpath, but this appears to be true for , not . Looking at the docs, I would assume it is the includeAntRuntime=20 attribute (set it to "no"). And, if so, are there any non-obvious drawbacks to doing so? Thanks, Erik --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org