On Monday 12 August 2002 10:08 am, Nicola Ken Barozzi wrote:
> Carsten Ziegeler wrote:
> > AFAIK it's not possible.
>
> Ain't there a merge stuff for Configuration somewhere now in Avalon?

yes. 

http://jakarta.apache.org/avalon/excalibur/configuration/configuration-merger.html

Two xconf files, cocoon.xconf and cocoon-user.xconf. cocoon.xconf is the 
"base" and cocoon-user.xconf is the "layer". When creating the Configuration 
for the primary container, merge the base and layer with 

http://jakarta.apache.org/avalon/excalibur/configuration/api/org/apache/excalibur/configuration/merged/ConfigurationMerger.html

There is also a ConfigurationSplitter, which takes a merged configuration and 
a base and computes what the layer would be (good for a config tool that 
presents the original config to the user, they modify, and only save the 
differences.

-pete

-- 
peter royal -> [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to