Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 8443 invoked from network); 11 Oct 2000 13:03:40 -0000 Received: from public.ndh.net (HELO public.ndh.com) (195.94.90.21) by locus.apache.org with SMTP; 11 Oct 2000 13:03:40 -0000 Received: from sbodewig.bost.de ([195.227.98.11]) by public.ndh.com (8.9.3/8.8.0) with ESMTP id PAA27133 for ; Wed, 11 Oct 2000 15:03:33 +0200 (MET DST) Received: (from bodewig@localhost) by sbodewig.bost.de (8.9.3/8.9.3) id PAA04484; Wed, 11 Oct 2000 15:03:30 +0200 X-Authentication-Warning: sbodewig.bost.de: bodewig set sender to bodewig@bost.de using -f To: ant-user@jakarta.apache.org Subject: Re: Environment Variables References: From: Stefan Bodewig Date: 11 Oct 2000 15:03:30 +0200 In-Reply-To: "Luca Botti"'s message of "Wed, 11 Oct 2000 14:51:31 +0200" Message-ID: Lines: 10 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N >>>>> "LB" == Luca Botti writes: LB> Is there any way to have ant "see" envirnoment vars and set LB> properties accordingly? Ant can't because Java can't. You'll need to write your own wrapper script that takes all environment variables and calls Ant with -DENVVAR=${ENVAR} or -DENVVAR=%ENVVAR%. Stefan