Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 7203 invoked from network); 2 Sep 2000 18:05:07 -0000 Received: from web217.mail.yahoo.com (128.11.68.117) by locus.apache.org with SMTP; 2 Sep 2000 18:05:07 -0000 Received: (qmail 20002 invoked by uid 60001); 2 Sep 2000 18:05:07 -0000 Message-ID: <20000902180507.20000.qmail@web217.mail.yahoo.com> Received: from [24.25.8.91] by web217.mail.yahoo.com; Sat, 02 Sep 2000 11:05:07 PDT Date: Sat, 2 Sep 2000 11:05:07 -0700 (PDT) From: J Kary Subject: Re: Access to env variables To: ant-dev@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Josh, You can use -D when calling the ANT program. We're doing this to set variables referenced inside of the build.xml file. Hope this helps. JK PS -> I will send you our build.xml and script if your interested. --- Josh Lucas wrote: > I realize that this might be a silly question but can Ant access env > variables which have been set outside of the process? > > I know that I can give Ant a properties file which has 'extra' > properties but I would like to use some pre-set variables. > > Does this make sense? > > > josh __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/