Re: Specifying build properties

2005-10-24 Thread Steve Loughran
Rakesh Patel wrote: Thanks for that Steve. I would like to know more about "having the webapp load these dynamically based on their hostname" Thanks Rakesh 1. work out your hostname. easy-ish to do, though multiple network cards can trick you. gethostbyname() is the String hostname

RE: Specifying build properties

2005-10-24 Thread Rakesh Patel
Thanks for that Steve. I would like to know more about "having the webapp load these dynamically based on their hostname" Thanks Rakesh -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: 24 October 2005 13:29 To: Ant Users List Subject: Re: Specif

Re: Specifying build properties

2005-10-24 Thread Steve Loughran
Rakesh Patel wrote: Hi, Is there a way to specify which build file to use within a target? I use my local machine for building the war for the development environment and the production one. The properties are picked up from build.properties but I have to change this file each time depending on