You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2003/01/09 00:21:53 UTC
cvs commit: avalon-sandbox/merlin/src/xdocs classpath.xml
mcconnell 2003/01/08 15:21:53
Modified: merlin/src/test/config block.xml
merlin/src/xdocs classpath.xml
Log:
Updated documentation to reflect the different classlpath declaration possibilities that exist at the kernel, block and container levels.
Revision Changes Path
1.13 +1 -0 avalon-sandbox/merlin/src/test/config/block.xml
Index: block.xml
===================================================================
RCS file: /home/cvs/avalon-sandbox/merlin/src/test/config/block.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- block.xml 8 Jan 2003 21:24:27 -0000 1.12
+++ block.xml 8 Jan 2003 23:21:52 -0000 1.13
@@ -18,6 +18,7 @@
to a root container who's name is implied by the name of the block.
-->
<implementation src="external.xml">
+
<!-- use external file or embedded defintion -->
<!-- a container can contain a classpath declaration -->
<!-- a container can contain nested appliance declarations -->
1.2 +61 -16 avalon-sandbox/merlin/src/xdocs/classpath.xml
Index: classpath.xml
===================================================================
RCS file: /home/cvs/avalon-sandbox/merlin/src/xdocs/classpath.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- classpath.xml 1 Dec 2002 06:43:22 -0000 1.1
+++ classpath.xml 8 Jan 2003 23:21:53 -0000 1.2
@@ -23,6 +23,7 @@
<source>
<kernel>
+ <engine>
</source>
<p><font color="gray"><i><!--
@@ -30,10 +31,10 @@
--></i></font></p>
<source>
- <ibrary dir="<font color="darkred">.</font>">
- <include name="<font color="darkred">dist</font>"/>
- <include name="<font color="darkred">lib</font>"/>
- </ibrary">
+ <library dir="<font color="darkred">.</font>">
+ <include name="<font color="darkred">dist</font>"/>
+ <include name="<font color="darkred">lib</font>"/>
+ </ibrary">
</source>
<p><font color="gray"><i><!--
@@ -41,17 +42,19 @@
--></i></font></p>
<source>
+ </engine>
</kernel>
</source>
</s2>
- <s2 title="Classpath Managment">
+ <s2 title="Kernel Classpath Managment">
<a href="extension"/>
<p>A classpath declaration may occur at kernel and container scope. A kernel classpath is accessible by the root container and all subsidiary containers. A classpath declared at container scope is accessible only to the immediate container in which the classpath is defined and its subsidiary containers. An example of a classpath declaration is included below.</p>
<source>
<kernel>
+ <engine>
</source>
<p><font color="gray"><i><!--
@@ -59,12 +62,12 @@
--></i></font></p>
<source>
- <classpath">
- <fileset dir="<font color="darkred">lib</font>">
- <include name="<font color="darkred">avalon-framework.jar</font>"/>
- <include name="<font color="darkred">logkit.jar</font>"/>
- </fileset>
- </classpath">
+ <classpath">
+ <fileset dir="<font color="darkred">lib</font>">
+ <include name="<font color="darkred">avalon-framework.jar</font>"/>
+ <include name="<font color="darkred">logkit.jar</font>"/>
+ </fileset>
+ </classpath">
</source>
<p><font color="gray"><i><!--
@@ -72,14 +75,53 @@
--></i></font></p>
<source>
- <container name="<font color="darkred">root</font>">
+ </engine>
+ </kernel>
+</source>
+
+</s2>
+<s2 title="Root Container Classpath Declaration">
+
+<p><font color="gray"><i><!--
+Declaration of the root container classpath.
+--></i></font></p>
+
+<source>
+ <block>
+ <implementation>
+ <engine>
+
+ <classpath">
+ <fileset dir="<font color="darkred">dist</font>">
+ <include name="<font color="darkred">demo.jar</font>"/>
+ </fileset>
+ </classpath">
+
+ </engine>
+</source>
+
+<p><font color="gray"><i><!--
+Component appliance declarations and/or subsidiary containers will normally appear here.
+--></i></font></p>
+
+<source>
+ </implementation>
+ </block>
</source>
+</s2>
+<s2 title="Nested Container Classpath Declaration">
+
<p><font color="gray"><i><!--
Declaration of a container level classpath.
--></i></font></p>
<source>
+ <container name="<font color="darkred">demo</font>">
+ <engine>
+</source>
+
+<source>
<classpath">
<fileset dir="<font color="darkred">dist</font>">
<include name="<font color="darkred">demo.jar</font>"/>
@@ -87,13 +129,16 @@
</classpath">
</source>
+<source>
+ </engine>
+</source>
+
<p><font color="gray"><i><!--
-Component profiles and/or subsidiary containers will normally appear here.
+Appliance and/or subsidiary container declarations will normally appear here.
--></i></font></p>
<source>
- </container>
- </kernel>
+ </container>
</source>
</s2>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>