mcconnell 2003/02/16 04:06:45
Added: merlin/src/repository/demo config.xml block.xml
Log:
inital refactoring of demonstrations
Revision Changes Path
1.1 avalon-sandbox/merlin/src/repository/demo/config.xml
Index: config.xml
===================================================================
<!--
Demonstration of block customization.
-->
<targets>
<target name="standard">
<configuration>
<message>Message declared in a customizing descriptor.</message>
</configuration>
</target>
</targets>
1.1 avalon-sandbox/merlin/src/repository/demo/block.xml
Index: block.xml
===================================================================
<!--
Demonstration of an block implementation configuration file.
-->
<block name="demo">
<implementation>
<!--
Setup the classloader.
-->
<engine>
<classpath>
<fileset dir="lib">
<include name="merlin-demo-1.0.jar"/>
</fileset>
</classpath>
</engine>
<!--
an implementation may contain a single engine declaration,
multiple components and multiple containers
-->
<appliance name="standard"
class="org.apache.avalon.playground.StandardComponent" activation="startup">
<context class="org.apache.avalon.playground.StandardContextImp"/>
<configuration>
<message>Message declared in block descriptor.</message>
</configuration>
</appliance>
<container name="test">
<appliance name="standard"
class="org.apache.avalon.playground.StandardComponent" activation="startup">
<context class="org.apache.avalon.playground.StandardContextImp"/>
<configuration>
<message>Standard component inside a nested block.</message>
</configuration>
</appliance>
</container>
</implementation>
</block>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]