• 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: A little hint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A little hint


  • Subject: Re: A little hint
  • From: Guido Neitzer <email@hidden>
  • Date: Thu, 21 Aug 2008 10:01:05 -0600
  • Thread-topic: A little hint

On 21.08.08 02:55, "Simon McLean" <email@hidden> wrote:

> If we need to set a property and make absolutely sure that it doesn't
> get replaced by another framework, or even the application itself, we
> put it in WebObjects.properties. If i remember correctly, the
> WebObjects.properties are always the very last properties to be read
> in, so using it also prevents you from suffering from framework
> ordering.

The WebObjects.properties is the biggest piece of shit ever invented as it
gets read by every freaking project no matter what and you still have to
take care to get your settings into the production app. It's like a rocket
launcher for hunting butterflies ... kills everything without even noticing
you killed more than you wanted.

If you only have one project, that might be okay for you, I currently deal
with around 20 applications in various development stages (company work,
private work and some old contracting stuff) - I can't work with that file.

Normally I define most of my properties in the Application, but some are in
frameworks (especially for my D2W setup). And if then a new version of third
party framework suddenly also declares that same property and it is read
before yours ... your app might end up with not loading any D2W rule files
anymore which makes it pretty much unusable.

Didn't take long to find, but nevertheless killed my production app for 10
minutes until I found what it was. Fortunately, it wasn't a busy app but
something that is only accessed during office hours. Maybe I should add
another Mac Mini (production is a Mac Mini) as a staging server for testing
... ;-)

cug


 _______________________________________________
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: 
 >Re: A little hint (From: Simon McLean <email@hidden>)

  • Prev by Date: Re: D2W question
  • Next by Date: Re: WOLisp app deploy as a servlet
  • Previous by thread: Re: A little hint
  • Next by thread: D2W question
  • Index(es):
    • Date
    • Thread