cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <>
Subject Re: [2.2] Using includes in the sitemap for components?
Date Thu, 01 Sep 2005 16:00:57 GMT
I haven't looked at the code for this, but a) I'd love it in 2.1 and b) 
is it pluggable?  We already have an XML file with some configuration in 
it including some system properties that need to be set. It would be 
nice if I could leverage the same file for this.


Carsten Ziegeler wrote:

>It's already implemented in 2.2 and works :) I used the famous
>properties format for this, so you can define a property file with all
>the settings from web.xml and don't need any init parameters in web.xml
>at all. And of course the CLI can use the same property file.
>And you can simply override values on startup by specifying the property
>on the command line.
>Just a silly example: the cocoon.xconf is at WEB-INF, now you have a
>debug xconf for debugging, now you can startup Cocoon with
>cocoon -Dconfiguration=mydebug.xconf and that's it.
>I'm planning to extend this mechanism in the next days, so every block
>can have it's own file.
>I wrote an introduction to this some months ago, but at that time noone
>really was interested in it :(

View raw message