Re: Small change to properties loading
Re: Small change to properties loading
- Subject: Re: Small change to properties loading
- From: Paul Hoadley <email@hidden>
- Date: Tue, 15 Jan 2013 10:29:37 +1030
On 15/01/2013, at 10:17 AM, Johann Werner <email@hidden> wrote:
> Ok, last one, really ;)
You love it.
Let me just rearrange the reply a little...
>> The bottom line is this: if I'm _not_ using any of these new Properties files, has the load order (of all the pre-existing Properties files) changed?
>
> No.
That's all I really wanted to know. And given that, I am no longer worried about this:
>> Thanks for the answer. Am I the only one that thinks this might be problematic? (Or are you just talking about the load order of the "new" files?)
>
> I agree that this can be problematic but weighting the probability that this had been adopted by anyone other than Ken against the added complexity of having two different load orders I exceptionally opted for the former one.
Completely agree. It wasn't obvious that the change in load order only applied to the _new_ Properties files. Now it is, and I agree with you: it's unlikely to have much usage at the moment.
>>> Though that feature was introduced by Ken himself and not documented anywhere. I am looking at a lot of code in Wonder and I didn't notice that feature until the last pull request. So probably the only person using that feature is Ken and as it seems the load order was incorrect for what that feature was intended for. So I think in that case it is ok to fix it and not keeping it like it was. Of course better documentation on the wiki would make this (and the properties load order in common) more attractive for everyone.
>>
>> I'm still not quite sure I'm following—what is the "feature" you're referring to? (Feel free to reply tomorrow in your time zone!)
>
> It's to define some special property files to override the ones you are normally using within your frameworks/applications. But before that patch this didn't work as those were loaded _before_ the "standard" property files and thus getting overwritten instead of the other way around.
Thanks. Much clearer now.
>> Ken, I really think this needs to be fully documented somewhere.
>
> I agree.
Over to you, Ken!
--
Paul Hoadley
http://logicsquad.net/
_______________________________________________
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