Re: Small change to properties loading
Re: Small change to properties loading
- Subject: Re: Small change to properties loading
- From: Johann Werner <email@hidden>
- Date: Tue, 15 Jan 2013 00:47:40 +0100
Ok, last one, really ;)
Am 15.01.2013 um 00:26 schrieb Paul Hoadley <email@hidden>:
> On 15/01/2013, at 9:40 AM, Johann Werner <email@hidden> wrote:
>
>>> Come on Johann, I know you're there... :-) I just want to see it confirmed in black and white that this is entirely backwards-compatible. And a paragraph on how to use it if you want to, and its intended purpose would be great. Ken?
>>
>> Ok, last email for this long day ;)
>
> Fair. :-)
>
>> If you are talking of backwards-compatible in the sense of keeping the load order the same the answer is no.
>
> 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.
>
>> 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.
> 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 is, is it conceivable that anyone who isn't following along could possibly get a nasty surprise here? Ken, I really think this needs to be fully documented somewhere.
I agree.
>
>
> --
> 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