Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 85164 invoked from network); 30 Jan 2002 11:53:01 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 30 Jan 2002 11:53:01 -0000 Received: (qmail 28378 invoked by uid 97); 30 Jan 2002 11:52:50 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 28362 invoked by uid 97); 30 Jan 2002 11:52:50 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 28348 invoked from network); 30 Jan 2002 11:52:49 -0000 From: "Peter Kesch" To: "Ant Users List" Subject: AW: Environment variables Date: Wed, 30 Jan 2002 12:52:54 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200201301130.g0UBUuE15175@mail016.syd.optusnet.com.au> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N i know how to get access to the environment varibles ... but i want check if it is set or not. but what is ${tomcat} set to if the environment TOMCAT_HOME isn't set = ????? Peter -----Urspr=C3=BCngliche Nachricht----- Von: Peter Donald [mailto:peter@apache.org] Gesendet: Mittwoch, 30. Januar 2002 12:25 An: Ant Users List Betreff: Re: Environment variables On Wed, 30 Jan 2002 22:22, Peter Kesch wrote: > can i check if an environment variable is set or not ???? > i want to copy the JSPs into the Tomcat webapps-directory but it = depends on > if the environment variable is set or not because without it i have no > information about the path to the webapps directory .... > > i tried it with the condition task but i have nothing to compare the > variable to ... > > any hints ?? read the docs property task - specifically the environment attribute ;) --=20 Cheers, Pete ------------------------------------------------- "Sometimes its better to keep your mouth shut and=20 let people think your an idiot, than to open it=20 and remove all doubt."=20 ------------------------------------------------- -- To unsubscribe, e-mail: = For additional commands, e-mail: = -- To unsubscribe, e-mail: For additional commands, e-mail: