Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 44918 invoked from network); 27 May 2003 07:33:58 -0000 Received: from d12lmsgate-5.de.ibm.com (194.196.100.238) by daedalus.apache.org with SMTP; 27 May 2003 07:33:58 -0000 Received: from d12relay02.de.ibm.com (d12relay02.de.ibm.com [9.165.215.23]) by d12lmsgate-5.de.ibm.com (8.12.9/8.12.8) with ESMTP id h4R7Xvlr028982 for ; Tue, 27 May 2003 09:34:00 +0200 Received: from d12ml044.de.ibm.com (d12ml044_cs0 [9.165.222.142]) by d12relay02.de.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h4R7XV4A267434 for ; Tue, 27 May 2003 09:33:32 +0200 Subject: Re: Reading OS-Specific Environment Variables To: "Ant Users List" X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: "Oliver Alth" Date: Tue, 27 May 2003 09:33:29 +0200 X-MIMETrack: Serialize by Router on D12ML044/12/M/IBM(Release 5.0.9a |January 7, 2002) at 27/05/2003 09:33:31 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ok, now I understand. Thanks a lot, Oliver __________________________________________________________________ IBM Deutschland Entwicklung GmbH, Sch=F6naicher Str. 220, D-71032 B=F6b= lingen eServer Software Management, D4357, Intern: 7103-06, Tel. 902-2790, Tel.: ++49-(0)7031-16-4280, Fax.: 07031-16-2790 Internet: OALTH@DE.IBM.COM |---------+----------------------------> | | Stefan Bodewig | | | | | | | | | 27.05.2003 09:21 | | | Please respond to| | | "Ant Users List" | | | | |---------+----------------------------> >--------------------------------------------------------------------= ------------------------------------------| | = | | To: user@ant.apache.org = | | cc: = | | Subject: Re: Reading OS-Specific Environment Variables = | | = | >--------------------------------------------------------------------= ------------------------------------------| On Tue, 27 May 2003, Oliver Alth wrote: > setNewenvironment(true); > exec.setEnvironment(values); > > Right? Almost > Now my question: Does a command use both of these variables (the > default ones and my new ones)? You control that via setNewenvironment. If you set it to true, you will only get your new variables, if you set it to false (the default) the process environment will be a combination of the old and the new environment (with your definitions overriding existing ones). Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org =