Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 92043 invoked from network); 26 Jan 2004 07:30:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Jan 2004 07:30:27 -0000 Received: (qmail 65404 invoked by uid 500); 26 Jan 2004 07:29:54 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 65170 invoked by uid 500); 26 Jan 2004 07:29:53 -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 65157 invoked from network); 26 Jan 2004 07:29:52 -0000 Received: from unknown (HELO gizmo12ps.bigpond.com) (144.140.71.22) by daedalus.apache.org with SMTP; 26 Jan 2004 07:29:52 -0000 Received: (qmail 30974 invoked from network); 26 Jan 2004 07:26:30 -0000 Received: from unknown (HELO psmam09.bigpond.com) (144.135.25.94) by gizmo12ps.bigpond.com with SMTP; 26 Jan 2004 07:26:30 -0000 Received: from cpe-144-136-134-7.qld.bigpond.net.au ([144.136.134.7]) by psmam09.bigpond.com(MAM REL_3_4_2 162/12205507) with SMTP id 12205507; Mon, 26 Jan 2004 17:30:02 +1000 Reply-To: From: "Adrian Beech" To: Subject: Getting the value of an environment variable? Date: Mon, 26 Jan 2004 17:30:02 +1000 Organization: Polarmation Message-ID: <000101c3e3de$363650c0$0200000a@minbari> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 G'day folks, Is it possible to get the value of an environment variable and have it stored as a property? For example, I'd like to grab the value of Catalina_Home, which is defined as a system environment variable on my Windows XP box and as a shell environment variable on my Linux development system, and have it shoe horned into catalina.home in ant. Thanks if you can help. AB --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org