Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 31199 invoked from network); 26 Sep 2003 16:31:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Sep 2003 16:31:02 -0000 Received: (qmail 88160 invoked by uid 500); 26 Sep 2003 16:30:43 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 88127 invoked by uid 500); 26 Sep 2003 16:30:43 -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 88113 invoked from network); 26 Sep 2003 16:30:43 -0000 Received: from unknown (HELO mail32.messagelabs.com) (62.173.108.211) by daedalus.apache.org with SMTP; 26 Sep 2003 16:30:43 -0000 X-VirusChecked: Checked X-Env-Sender: dstrang@ukeu.com X-Msg-Ref: server-7.tower-32.messagelabs.com!1064593981!1673355 X-StarScan-Version: 5.0.7; banners=ukeu.com,-,- Received: (qmail 8777 invoked from network); 26 Sep 2003 16:33:01 -0000 Received: from unknown (HELO mail.ukeu.com) (62.60.123.202) by server-7.tower-32.messagelabs.com with SMTP; 26 Sep 2003 16:33:01 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Environment variables with $$ Date: Fri, 26 Sep 2003 17:31:00 +0100 Message-ID: <4A06D8EF24F2634398B11459B294AE5510909D@ukeuexch01.ukeu.ukeuniversitiesworldwide.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Environment variables with $$ Thread-Index: AcOES5DCb+/eyDopSDWWnKTYt5gbfA== From: "Duncan Strang" To: 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 Hi I have an ant build script that contains the following target Just set a property called providers this has the value ${providers} I'm trying to understand the semantics of the $$DESKTOP bit. I have similar statements all through my 5000 line build.xml I have been told that DESKTOP is a 'simple environment variable' however I have set a variable in my .profile file (Solaris 8) with the value foobar. I can access this from the shell with echo $DESKTOP, I get foobar back When I run the init target I was expecting to get /myportal/dist/foobar/classes/portal/providers/ Instead I got /myportal/dist/$DESKTOP/classes/portal/providers/ I have the book 'Java development with ant' by Hatcher and Loughran, they talk about using the env prefix to access environment variables. I have searched build.xml and I can find no reference to anything that looks like it is setting or retrieving an ev. I have also had a look round the archives, once again all I see is the env prefix stuff. Can anyone explain the semantics of $$DESKTOP. Many Thanks Duncan Duncan Strang JAVA Consultant UK eUniversities Worldwide Limited =20 Direct: +44 (0)207 932 4495 Fax: +44 (0)207 932 4445 Mobile: +44 (0) E-mail: dstrang@ukeu.com=20 www.ukeu.com =20 Switchboard: +44 (0)207 932 4444 =20 This e-mail is from UK eUniversities Worldwide Limited, 14 Buckingham Gate, London. SW1E 6LB, United Kingdom, No: 4218275. =20 This e-mail (and any attachment) is confidential to the addressee and may be privileged. If you are not the named addressee please notify the sender immediately by calling our switchboard on +44 (0) 207 932 4444 - do not disclose to another person or use, copy or forward all or any of it in any form. =20 All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of UK eUniversities Worldwide Limited or any of its affiliates. UK eUniversities Worldwide Limited or any of its affiliates accept no responsibility for loss or damage arising from its use, including damage from virus. ________________________________________________________________________ This=20email=20has=20been=20scanned=20for=20all=20viruses=20on=20behalf=20= of=20UKeUniversities=20Worldwide=20Limited=20by=20the=20MessageLabs=20Emai= l Security=20System.=20_____________________________________________________= ___________________ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org