Re: Best Practices - Properties files
Re: Best Practices - Properties files
- Subject: Re: Best Practices - Properties files
- From: Tim Worman <email@hidden>
- Date: Thu, 25 Jun 2009 09:32:28 -0700
On Jun 25, 2009, at 7: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)
That would probably be a great place to set up a lot of the diagnostic
logging you may only want to do in dev mode.
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.
ms
OK, that is awesome and that is one that I have not seen mentioned
anywhere. That is the one that would save me from having to do what I
mentioned in initial email regarding deployment. I really like that
solution.
Thanks Mike.
Tim
UCLA GSE&IS
_______________________________________________
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