Skip to Content.
Sympa Menu

notify-dpml - r1634 - in trunk/central/site/src/docs/metro/tutorials: . import lifestyles types

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1634 - in trunk/central/site/src/docs/metro/tutorials: . import lifestyles types
  • Date: Sat, 22 Jul 2006 17:59:33 +0200

Author: mcconnell
Date: 2006-07-22 17:59:33 +0200 (Sat, 22 Jul 2006)
New Revision: 1634

Modified:
trunk/central/site/src/docs/metro/tutorials/composition-by-parts.xml
trunk/central/site/src/docs/metro/tutorials/context-examples.xml
trunk/central/site/src/docs/metro/tutorials/context.xml
trunk/central/site/src/docs/metro/tutorials/import/index.xml
trunk/central/site/src/docs/metro/tutorials/index.xml
trunk/central/site/src/docs/metro/tutorials/lifestyles/index.xml
trunk/central/site/src/docs/metro/tutorials/lifestyles/per-thread.xml
trunk/central/site/src/docs/metro/tutorials/lifestyles/singleton.xml
trunk/central/site/src/docs/metro/tutorials/lifestyles/transients.xml
trunk/central/site/src/docs/metro/tutorials/lookup.xml
trunk/central/site/src/docs/metro/tutorials/types/index.xml
Log:
make component tutorial index example clear that they are Depot project
definitions and not Ant projects

Modified: trunk/central/site/src/docs/metro/tutorials/composition-by-parts.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/composition-by-parts.xml
2006-07-22 15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/composition-by-parts.xml
2006-07-22 15:59:33 UTC (rev 1634)
@@ -52,7 +52,8 @@
of a <tt>&lt;context&gt;</tt> element.
</p>

-<pre>
+<pre>&lt;index ..... &gt;
+
&lt;project name="acme-demo-parts" basedir="parts"&gt;
&lt;types&gt;
&lt;type id="jar"/&gt;
@@ -75,7 +76,10 @@
&lt;/test&gt;
&lt;/dependencies&gt;
&lt;/project&gt;
-</pre>
+
+ ...
+
+&lt;/index&gt;</pre>

</subsection>


Modified: trunk/central/site/src/docs/metro/tutorials/context-examples.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/context-examples.xml
2006-07-22 15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/context-examples.xml
2006-07-22 15:59:33 UTC (rev 1634)
@@ -41,7 +41,8 @@
presented in red).
</p>

-<pre>
+<pre>&lt;index ..... &gt;
+
&lt;project name="acme-demo-examples" basedir="examples"&gt;
&lt;types&gt;
&lt;type id="jar"/&gt;
@@ -83,7 +84,10 @@
&lt;/test&gt;
&lt;/dependencies&gt;
&lt;/project&gt;
-</pre>
+
+ ...
+
+&lt;/index&gt;</pre>

</subsection>


Modified: trunk/central/site/src/docs/metro/tutorials/context.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/context.xml 2006-07-22
15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/context.xml 2006-07-22
15:59:33 UTC (rev 1634)
@@ -149,7 +149,8 @@
Modifications markup shows changes from our initial component
definition.
</i></p>

-<pre>
+<pre>&lt;index ..... &gt;
+
&lt;project name="acme-demo-context" basedir="context"&gt;
&lt;types&gt;
&lt;type id="jar"/&gt;
@@ -171,7 +172,10 @@
&lt;/test&gt;
&lt;/dependencies&gt;
&lt;/project&gt;
-</pre>
+
+ ...
+
+&lt;/index&gt;</pre>

</subsection>


Modified: trunk/central/site/src/docs/metro/tutorials/import/index.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/import/index.xml
2006-07-22 15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/import/index.xml
2006-07-22 15:59:33 UTC (rev 1634)
@@ -36,13 +36,17 @@
exist at a lower level in the classloader heirachy).
</p>

- <pre><![CDATA[
+<pre>&lt;index ..... &gt;<![CDATA[
+
<project name="acme-clock-api" basedir="api">
<types>
<type id="jar"/>
</types>
- </project>
- ]]></pre>
+ </project>]]>
+
+ ...
+
+&lt;/index&gt;</pre>

<p>
The <tt>acme-clock-impl</tt> project contains a clock
@@ -55,7 +59,8 @@
artifact uris).
</p>

- <pre><![CDATA[
+<pre>&lt;index ..... &gt;<![CDATA[
+
<project name="acme-clock-impl" basedir="clock">
<types>
<type id="jar"/>
@@ -67,8 +72,11 @@
<include key="acme-clock-api"/>
</runtime>
</dependencies>
- </project>
- ]]></pre>
+ </project>]]>
+
+ ...
+
+&lt;/index&gt;</pre>

<p>
The <tt>acme-clock-demo</tt> project is an example of a
@@ -92,7 +100,8 @@
demo components classloader.
</p>

- <pre><![CDATA[
+<pre><![CDATA[<index ... >
+
<project name="acme-clock-demo" basedir="demo">
<types>
<type id="jar"/>
@@ -120,9 +129,12 @@
<include ref="dpml/transit/dpml-transit-main"/>
</test>
</dependencies>
- </project>
- ]]></pre>
-
+ </project>
+
+ ...
+
+</index>]]></pre>
+
</subsection>

<subsection name="Summary">

Modified: trunk/central/site/src/docs/metro/tutorials/index.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/index.xml 2006-07-22
15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/index.xml 2006-07-22
15:59:33 UTC (rev 1634)
@@ -56,12 +56,14 @@

<p>
The creation of a new component defintion is basically the same as
the procedure
- used to creation a plugin. In the following Depot project
definition we are declaring
- a new project with pablication of a jar and part artifacts. The
significant difference
+ used to create a plugin. In the following Depot project definition
we are declaring
+ a new project with publication of a jar and a part artifact. The
significant difference
from a regular plugin is the usage of a custom part strategy.
</p>

<source>
+&lt;index ..... &gt;
+
&lt;project name="acme-demo-hello" basedir="hello"&gt;
&lt;types&gt;
&lt;type id="jar"/&gt;
@@ -76,6 +78,10 @@
&lt;/test&gt;
&lt;/dependencies&gt;
&lt;/project&gt;
+
+ ...
+
+&lt;/index&gt;
</source>

<p>
@@ -119,7 +125,7 @@

<p>
In this example the Demo implementation class contains nothing
significant -
- however, the important point of this initial tutorial is the
association of
+ however, the important point of this tutorial is the association of
a different runtime handler for the class within our part definition.
</p>

@@ -136,7 +142,6 @@

<ul>
<li><a href="../../transit/tutorials/plugins.html">Transit Plugin
Tutorial</a></li>
- <li><a href="../index.html">Metro Component Management
System</a></li>
<li><a href="../concepts/ioc.html">IOC Overview</a></li>
<li><a href="../concepts/context.html">Context Awareness</a></li>
</ul>

Modified: trunk/central/site/src/docs/metro/tutorials/lifestyles/index.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/lifestyles/index.xml
2006-07-22 15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/lifestyles/index.xml
2006-07-22 15:59:33 UTC (rev 1634)
@@ -62,7 +62,8 @@
<i>project definition:</i>:
</p>

-<pre>
+<pre>&lt;index ..... &gt;
+
&lt;project name="acme-lifestyle-demo" basedir="lifestyle"&gt;
&lt;types&gt;
&lt;type id="jar"/&gt;
@@ -90,7 +91,10 @@
&lt;/test&gt;
&lt;/dependencies&gt;
&lt;/project&gt;
-</pre>
+
+ ...
+
+&lt;/index&gt;</pre>

</subsection>


Modified:
trunk/central/site/src/docs/metro/tutorials/lifestyles/per-thread.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/lifestyles/per-thread.xml
2006-07-22 15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/lifestyles/per-thread.xml
2006-07-22 15:59:33 UTC (rev 1634)
@@ -58,7 +58,8 @@
<i>project definition:</i>:
</p>

-<pre>
+<pre>&lt;index ..... &gt;
+
&lt;project name="acme-thread-demo" basedir="thread"&gt;
&lt;types&gt;
&lt;type id="jar"/&gt;
@@ -81,7 +82,10 @@
&lt;/test&gt;
&lt;/dependencies&gt;
&lt;/project&gt;
-</pre>
+
+ ...
+
+&lt;/index&gt;</pre>

</subsection>


Modified: trunk/central/site/src/docs/metro/tutorials/lifestyles/singleton.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/lifestyles/singleton.xml
2006-07-22 15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/lifestyles/singleton.xml
2006-07-22 15:59:33 UTC (rev 1634)
@@ -45,7 +45,8 @@

<subsection name="Deployment Solution">

-<pre>
+<pre>&lt;index ..... &gt;
+
&lt;project name="acme-singleton-demo" basedir="singleton"&gt;
&lt;types&gt;
&lt;type id="jar"/&gt;
@@ -68,7 +69,10 @@
&lt;/test&gt;
&lt;/dependencies&gt;
&lt;/project&gt;
-</pre>
+
+ ...
+
+&lt;/index&gt;</pre>

</subsection>


Modified:
trunk/central/site/src/docs/metro/tutorials/lifestyles/transients.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/lifestyles/transients.xml
2006-07-22 15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/lifestyles/transients.xml
2006-07-22 15:59:33 UTC (rev 1634)
@@ -57,7 +57,8 @@
<i>project definition:</i>:
</p>

-<pre>
+<pre>&lt;index ..... &gt;
+
&lt;project name="acme-transient-demo" basedir="transient"&gt;
&lt;types&gt;
&lt;type id="jar"/&gt;
@@ -79,7 +80,10 @@
&lt;/test&gt;
&lt;/dependencies&gt;
&lt;/project&gt;
-</pre>
+
+ ...
+
+&lt;/index&gt;</pre>

</subsection>


Modified: trunk/central/site/src/docs/metro/tutorials/lookup.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/lookup.xml 2006-07-22
15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/lookup.xml 2006-07-22
15:59:33 UTC (rev 1634)
@@ -55,7 +55,8 @@
<i>project definition:</i>:
</p>

-<pre>
+<pre>&lt;index ..... &gt;
+
&lt;project name="acme-lookup-demo" basedir="lookup"&gt;
&lt;types&gt;
&lt;type id="jar"/&gt;
@@ -83,7 +84,10 @@
&lt;/test&gt;
&lt;/dependencies&gt;
&lt;/project&gt;
-</pre>
+
+ ...
+
+&lt;/index&gt;</pre>

</subsection>


Modified: trunk/central/site/src/docs/metro/tutorials/types/index.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/types/index.xml 2006-07-22
15:32:54 UTC (rev 1633)
+++ trunk/central/site/src/docs/metro/tutorials/types/index.xml 2006-07-22
15:59:33 UTC (rev 1634)
@@ -113,7 +113,8 @@
down to the following:
</p>

-<pre>
+<pre>&lt;index ..... &gt;
+
&lt;project name="acme-type-demo" basedir="type"&gt;
&lt;types&gt;
&lt;type id="jar"/&gt;
@@ -126,7 +127,10 @@
&lt;/test&gt;
&lt;/dependencies&gt;
&lt;/project&gt;
-</pre>
+
+ ...
+
+&lt;/index&gt;</pre>

</subsection>





  • r1634 - in trunk/central/site/src/docs/metro/tutorials: . import lifestyles types, mcconnell at BerliOS, 07/22/2006

Archive powered by MHonArc 2.6.24.

Top of Page