Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 97761 invoked from network); 23 May 2005 02:41:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2005 02:41:15 -0000 Received: (qmail 35485 invoked by uid 500); 23 May 2005 02:41:14 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 35359 invoked by uid 500); 23 May 2005 02:41:13 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 35340 invoked by uid 99); 23 May 2005 02:41:13 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_40_50,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of trelony@gmail.com designates 64.233.170.194 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.194) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 22 May 2005 19:41:10 -0700 Received: by rproxy.gmail.com with SMTP id f1so1183427rne for ; Sun, 22 May 2005 19:41:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=VdZrpRLkVo+4eMd+OZme2Yvr52Hzt+aN3rmY95j4kVdhwl4q/55jGObjzE9oBFoRqSBaWsOqOSCNfUWw5EcC5C4CJfqVMvrC2TZtdKu9m693YUa43A+QE2HBO5rcHgStdo+WdlRxs5dOHfq/GwHD4aBt4gwnWBS7DPZQ9XR4his= Received: by 10.38.155.3 with SMTP id c3mr2950285rne; Sun, 22 May 2005 19:41:08 -0700 (PDT) Received: by 10.38.98.14 with HTTP; Sun, 22 May 2005 19:41:08 -0700 (PDT) Message-ID: <8f836c6605052219415967c578@mail.gmail.com> Date: Sun, 22 May 2005 19:41:08 -0700 From: Alexey Solofnenko Reply-To: Alexey Solofnenko To: Ant Developers List Subject: Re: Can Ant know ANT_HOME? In-Reply-To: <429131BE.7040303@comcast.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3033_10542595.1116816068465" References: <429131BE.7040303@comcast.net> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_3033_10542595.1116816068465 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Please use ${ant.home} property. - Alexey. On 5/22/05, Steve Cohen wrote: >=20 > I am trying to write a simple build.xml for debugging Ant setups. One > of the things I would like to know is what ANT_HOME was defined as when > Ant launched. But this does not seem to be a predefined ant property. > I naively thought that I could do > > ANT_HOME=3D${env.ANT_HOME} > this will not work unless ANT_HOME is predefined in the environment. > The typical ant launch scripts will define ANT_HOME but not export it > into the environment. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org >=20 >=20 --=20 Alexey N. Solofnenko trelony at gmail.com home: http://trelony.cjb.net/ Pleasant Hill, CA (GMT-8 hours usually) ------=_Part_3033_10542595.1116816068465--