Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 72586 invoked from network); 23 Apr 2003 13:16:50 -0000 Received: from poster.ptc.com (HELO mxrelay.ptc.com) (12.11.148.30) by daedalus.apache.org with SMTP; 23 Apr 2003 13:16:50 -0000 Received: from HQ-EXFE2.ptcnet.ptc.com (localhost [127.0.0.1]) by mxrelay.ptc.com (8.9.0/8.9.0) with ESMTP id JAA17057 for ; Wed, 23 Apr 2003 09:16:49 -0400 (EDT) Received: from hq-mail1.ptcnet.ptc.com ([132.253.201.69]) by HQ-EXFE2.ptcnet.ptc.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 23 Apr 2003 09:16:49 -0400 Received: from ptc.com ([132.253.96.61]) by hq-mail1.ptcnet.ptc.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 23 Apr 2003 09:16:49 -0400 Message-ID: <3EA69223.2090000@ptc.com> Date: Wed, 23 Apr 2003 09:16:19 -0400 From: Erik Price User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: includeAntRuntime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Apr 2003 13:16:49.0238 (UTC) FILETIME=[98F60760:01C3099A] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, If I understand correctly, the task inherits the contents of the CLASSPATH environment variable (as well as any libraries in $ANT_HOME/lib) indirectly from the Ant runtime. Please stop me here if I am wrong. Quick question: If I want to ensure that this environment variable is *not* inherited (so I can be assured that I am not inadvertently depending on any CLASSPATH settings that exist external to those specified in my build file), what is the recommended solution? At first I would have thought that setting an explicit classpath to use would override any existing classpath, but this appears to be true for , not . Looking at the docs, I would assume it is the includeAntRuntime attribute (set it to "no"). And, if so, are there any non-obvious drawbacks to doing so? Thanks, Erik