cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size
Date Tue, 12 Dec 2006 14:55:16 GMT
Luca Morandini schrieb:
> Carsten Ziegeler wrote:
>> Luca Morandini wrote:
>>
>>> One issue, though: since the property loading mechanism uses 
>>> "classpath:°" protocol, property files are read in alphabetical order, 
>>> which means I might have my per-project properties ruined by the 
>>> addition of a block, unless I call them zzzz.properties.
>>>
>>> This was neatly solved by the use of WEB-INF/cocoon/properties, since it 
>>> was loaded after the "classpath:*" chain.
>>>
>> Yes, you're right. Hmm, perhaps we should load properties from
>> WEB-INF/classes last. I'll have a look at that as well.
> 
> Last ? Hmm... I'm not sure I got you point.
> Anyway, what I meant is that I'd like to have a way to load project-wide 
> properties that cannot be overridden by block-wide ones.
> 
Yepp, the properties system works in the way that the last definition
wins. And this means that project-wide stuff has to be loaded last.

Carsten
-- 
Carsten Ziegeler - Chief Architect
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message