• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best Practices - Properties files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Best Practices - Properties files (From: Tim Worman <email@hidden>)
 >Re: Best Practices - Properties files (From: Kieran Kelleher <email@hidden>)
 >Re: Best Practices - Properties files (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Best Practices - Properties files
  • Next by Date: Re: bindings and WOPopUp lists and selections
  • Previous by thread: Re: [Wonder-disc] Best Practices - Properties files
  • Next by thread: Re: [Wonder-disc] Best Practices - Properties files
  • Index(es):
    • Date
    • Thread