cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <>
Subject Re: reading settings in cocoon.xconf
Date Mon, 04 Sep 2006 12:34:01 GMT
Carsten Ziegeler wrote:
> Leszek Gawron wrote:
>> <SNIP>
>> The blocks consists of:
>> - COB-INF resources (covered with mount in sitemap)
>> - java classes (loaded on sitemap level with reloading classloader, now 
>> gets me thinking it will break if block supplies some core spring beans)
>> - avalon contexts (covered by include in cocoon.xconf)
>> - spring contexts (covered by include in cocoon.xconf)
>> - sitemap additions (covered by include in cocoon.xconf)
>> - properties
>>    - those in src/main/resources/COB-INF/config/properties/ covered by 
>> automatic loading in block sitemap
>>    - those in src/main/resources/META-INF/properties are NOT COVERED
> Thanks for the nice overview, Leszek - I've never used it this way.
> To be honest, I have no good idea how to solve this. But I think putting
> these include into the xconf is not the right way :(
Would it help, if you could specify the properties dir in the settings
element in the
applicationContext.xml? Currently <cocoon:settings/> is used; we could
simply extend it with support for an addition "dir" attribute.

Carsten Ziegeler - Open Source Group, S&N AG

View raw message