Peter Royal wrote:

On Friday, August 8, 2003, at 09:08 AM, Peter Klotz wrote:

I'm trying this merging currently, too but I have some questions as it is not working yet.
First where do I have to put the excalibur-configuration attributes, into the <app>/SAR-INF/config.xml that is the base or the externally located config.xml that is the layer? I suppose the layer right?


correct, the excalibur-configuration attributes go into the layer.

Then I have in kernel.xml switched to the FileSystemPersistentConfigurationRepository instead of the DefaultConfigurationRepository. And I'v added
<storage-directory>${phoenix-home}/conf/apps</storage-directory> as configuration of that component.


I suppose that the filename must be the same as the base thats config.xml? I also assume that I have to include the <config> toplevel tag?


inside of /conf/apps there will need to be a folder named after your application (basically sar name without the .sar), and inside of there a file per block, named after the block name that was assigned in assembly.xml. rather than one merge file for the whole config.xml, it is broken out per-block.

OK I have this: ${phoenix.home}/conf/apps/<app>/<comp>

where the comp-Files have a XML header and contain each the configuration snipplet from config.xml.
Now the question is, do I have to specify the excalibur-configuration:merge="true" for each tag that is the components' name tag and all the config-tags inside? or is it enough to specify it on the topmost element?
For each attribute a excalibur-configuration:key-attribute="<attr>"?
I've attached a sample component-File.


It is not yet merged at least it seems. I have commented out the corresponding component configuration content (empty <tecadapter>) and I throw an exception if an element such as <server> is not defined at all. And I still get it so it is not merged.
Anything else one has to watch for?



Peter


<?xml version='1.0'?>
  <tecadapter excalibur-configuration:merge="true">
    <server host="hooksiel" port="0"  excalibur-configuration:merge="true" excalibur-configuration:key-attribute="host"/>
  </tecadapter>


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

Reply via email to