• 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: Simon McLean <email@hidden>
  • Date: Thu, 21 Aug 2008 09:55:08 +0100

Hi Guido -

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.

Simon

On 21 Aug 2008, at 06:35, Guido Neitzer wrote:

Something I just stumbled into and want to let you know, so you might
remember reading about what the problem could be:

If you override a property in a framework (e.g. your own framework), which
is also _set_ in another framework (e.g. Wonder, ...) and it works on your
local Eclipse but doesn't work in deployment, you might have the re- ordered
the classpath in Eclipse and still end up with a different classpath in the
deployed application.


Rule of thumb for me now:

Override properties, that are set in ANY (non-system) framework in the
application itself if you have to override it at all because that way you
know it will definitely override the property from any framework regardless
of any ordering of the frameworks.


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

_______________________________________________ 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
  • Follow-Ups:
    • Re: A little hint
      • From: Guido Neitzer <email@hidden>
    • Re: A little hint
      • From: Gavin Eadie <email@hidden>
References: 
 >A little hint (From: Guido Neitzer <email@hidden>)

  • Prev by Date: D2W question
  • Next by Date: Use of finalize methods in WO
  • Previous by thread: A little hint
  • Next by thread: Re: A little hint
  • Index(es):
    • Date
    • Thread