Am 29.11.2005 1:59 Uhr schrieb "Alan Ward" unter <[EMAIL PROTECTED]>:

> 
> I thought it was 1, 4, 2, 3 (i.e. ~/WebObjects.properties has higher
> precedence than
> everything other than command line?
> 
> No?
> 
> Alan
> 
> On Nov 28, 2005, at 5:53 PM, Chuck Hill wrote:
> 
>> I have never used the last two.  They can be overridden in code.
>> Other than that, this is my understanding as well.
>> 
>> Chuck
>> 
>> 
>> On Nov 28, 2005, at 3:57 PM, Lachlan Deck wrote:
>> 
>> 
>>> Hi all,
>>> 
>>> My reading of the NSProperties API leads me to believe that the
>>> order of priority for preferences are as follows (but it's not
>>> explicitly stated)...
>>> 
>>> 1) Command line args
>>> 2) Application Properties file
>>> 3) Framework Properties file
>>> 4) ~/WebObjects.properties
>>> 
>>> i.e., I assume that the ones higher up the chain (e.g., command
>>> line args) take priority over the others and so on. Is that correct?
>>> 
>>> Thanks.
>>> 
>>> with regards,
>>> --
>>> 
>>> Lachlan Deck
I'm not sure about the above, but there is still a way to merge additional
properties into the already loaded properties via
NSProperties.setPropertiesFromArgv ( String args [] );
as i showed in my PropDemo WOApp, dowloadable from
http://www.bugs-and-errors.de/
This allows also updating of properties at runtime.

If this helps...... :-)

regards

Wolfram


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to