• 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: 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


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: [Wonder-disc] Best Practices - Properties files
  • Previous by thread: Re: Best Practices - Properties files
  • Next by thread: Re: [Wonder-disc] Best Practices - Properties files
  • Index(es):
    • Date
    • Thread