Re: Best Practices - Properties files
Re: Best Practices - Properties files
- Subject: Re: Best Practices - Properties files
- From: David Avendasora <email@hidden>
- Date: Thu, 25 Jun 2009 10:39:14 -0400
On Jun 25, 2009, at 10:36 AM, Mike Schrag wrote:
As you saw u can use Properties.<username> for specific user
configurations. This same feature can be used for configurations
too, for example have a deployment config file named
Properties.deploy and then in the WOMonitor args, simply put
-Duser.name=deploy
you can also do Properties.dev, which will get loaded for everyone
in development mode (so you can make properties for all developers)
I didn't know about that one!
and there is /etc/WebObjects/YourAppName/Properties that is actually
the preferred way (IMO) of doing deployment properties ... user.name
is convenient, but it always felt a little dirty.
Interesting. Where would the analogous (if there is one) location be
when deploying as a servlet?
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden