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 7177 invoked from network); 25 Feb 2001 19:54:07 -0000 Received: from h002078d4892a.ne.mediaone.net (HELO idoru.devslash.com) (66.31.153.238) by h31.sny.collab.net with SMTP; 25 Feb 2001 19:54:07 -0000 Received: (from sam@localhost) by idoru.devslash.com (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) id f1PJrTt01369; Sun, 25 Feb 2001 14:53:29 -0500 X-Authentication-Warning: idoru.devslash.com: sam set sender to smarks@digisolutions.com using -f To: ant-user@jakarta.apache.org Subject: Re: Typical Usage Question References: <"Sibon Barman"'s message of "Fri, 23 Feb 2001 15:35:14 -0500"> <3.0.6.32.20010224113555.00a2feb0@alphalink.com.au> X-Attribution: Spencer Marks X-URL: Organization: digital solutions From: Spencer A Marks Date: 25 Feb 2001 14:53:29 -0500 In-Reply-To: Peter Donald's message of "Sat, 24 Feb 2001 11:35:55 +1100" Message-ID: Lines: 54 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This was helpful, thanks. I see that user.home is an environment variable that I assume defined by the java runtime (since it might not exist under every plateform). Is there a lit of other java defined environment variables? Thanks, Spencer Peter Donald writes: > At 04:36 23/2/01 -0500, Spencer A Marks wrote: > >What's better: > > > >-Call ant from a script that sets up the environment for ant (e.g. the > >classpath, other environment variable) > > -1 BAD > > >-Call Ant directly and let build.xml be responsible for setting > > everything up correctly. (e.g. the classpath) > > +1 GOOD > > ;) > > >How do people manage to keep build.xml (and any other wrapper files, > >if that is the recommended way to go) under source code control and > >still have site specific configurations available. > > You can use property task to load in configurations from files. Check out > the build.xml included in ants src and it will have > > > > > > which allows you to have per-project and per-user proeprties. > > Cheers, > > Pete > > *-----------------------------------------------------* > | "Faced with the choice between changing one's mind, | > | and proving that there is no need to do so - almost | > | everyone gets busy on the proof." | > | - John Kenneth Galbraith | > *-----------------------------------------------------*