RE: auto configuration

2004-10-22 Thread Peter Wilkes
[echo] option2=customized for site 1 >[echo] option3=standard > BUILD SUCCESSFUL > Total time: 422 milliseconds > > > Hopefully this provides something to get you started. > > Regards, > ~Jeff > > > -----Original Message- > From: [EM

Re: auto configuration

2004-10-21 Thread Frode E. Moe
On Thu, Oct 21, 2004 at 14:57:12 -0400, Peter Wilkes wrote: > right now we have a general properties file called "program.properties" > and we have an install proceedure to change certain lines. > > we would like to set up ant persay to read in another file called > "site1.properties" read in all

RE: auto configuration

2004-10-21 Thread Wascally Wabbit
At 06:29 PM 10/21/2004, you wrote: Your right that would work. I don't know if the build would fail if you try to overwrite a property. It will not. I use this "trick" all the time: loading the properties that should take highest precedence first and those that are basically fallbacks or defaults a

RE: auto configuration

2004-10-21 Thread Pascal_Lafond
OTECTED]To: "'Ant Users List'" <[EMAIL PROTECTED]> gaming.com> cc:

RE: auto configuration

2004-10-21 Thread Jeff Davidson
EMAIL PROTECTED] Sent: October 21, 2004 15:01 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: auto configuration Properties in ant are immutable. If you need to change a property (which is sometimes unavoidable) you will to include the 3rd party open source antcontrib library and us

Re: auto configuration

2004-10-21 Thread Pascal_Lafond
Properties in ant are immutable. If you need to change a property (which is sometimes unavoidable) you will to include the 3rd party open source antcontrib library and use the variable task. I every site needs to replace a certain set of variables maybe they don't need to be present in global pr