Skip to Content.
Sympa Menu

notify-dpml - r1621 - in trunk/central/site/src/docs/depot/tutorials: complex simple

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: r1621 - in trunk/central/site/src/docs/depot/tutorials: complex simple
  • Date: Thu, 20 Jul 2006 20:39:01 +0200

Author: mcconnell
Date: 2006-07-20 20:38:59 +0200 (Thu, 20 Jul 2006)
New Revision: 1621

Modified:
trunk/central/site/src/docs/depot/tutorials/complex/index.xml
trunk/central/site/src/docs/depot/tutorials/simple/alias.xml
trunk/central/site/src/docs/depot/tutorials/simple/automation.xml
trunk/central/site/src/docs/depot/tutorials/simple/filters.xml
trunk/central/site/src/docs/depot/tutorials/simple/index.xml
trunk/central/site/src/docs/depot/tutorials/simple/properties.xml
trunk/central/site/src/docs/depot/tutorials/simple/symbolic.xml
trunk/central/site/src/docs/depot/tutorials/simple/types.xml
Log:
housekeeping

Modified: trunk/central/site/src/docs/depot/tutorials/complex/index.xml
===================================================================
--- trunk/central/site/src/docs/depot/tutorials/complex/index.xml
2006-07-20 18:21:46 UTC (rev 1620)
+++ trunk/central/site/src/docs/depot/tutorials/complex/index.xml
2006-07-20 18:38:59 UTC (rev 1621)
@@ -63,7 +63,7 @@
immidiate subdirectories relative to the location of the index.xml
file.
</p>

-<source>
+<pre>
&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
&lt;index xmlns="link:xsd:dpml/lang/dpml-module#1.0">

@@ -78,7 +78,7 @@
&lt;/project&gt;</font>

&lt;/index&gt;
-</source>
+</pre>

</subsection>


Modified: trunk/central/site/src/docs/depot/tutorials/simple/alias.xml
===================================================================
--- trunk/central/site/src/docs/depot/tutorials/simple/alias.xml
2006-07-20 18:21:46 UTC (rev 1620)
+++ trunk/central/site/src/docs/depot/tutorials/simple/alias.xml
2006-07-20 18:38:59 UTC (rev 1621)
@@ -25,10 +25,11 @@
To simplify local management of modules we can use the
<tt>alias</tt> attribuite
on a type declaration declaration. This request the creation of a
link which is an artifact
that references another artifact. The following example
demonstrates the addition
- of an <tt>alias</tt> attribute to the type production statement in
demo project.
+ of an <tt>alias</tt> attribute to the type production statement in
the demo project.
</p>

-<source>
+<pre>
+&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
&lt;index xmlns="link:xsd:dpml/lang/dpml-module#1.0"&gt;

&lt;project name="demo" basedir="."&gt;
@@ -45,7 +46,7 @@
&lt;/project&gt;

&lt;/index&gt;
-</source>
+</pre>

<p>
The alias attribute is recognized by the Depot antlib and will result
@@ -59,6 +60,23 @@

<source>artifact:jar:demo#SNAPSHOT</source>

+ <p>
+ Subsequent build or runtime systems that reference resource via
artifact-based
+ uris can using the <tt>link</tt> protocol to retrieve the resource.
For example,
+ the following project definition demonstrates the usage of a alias
reference
+ via the link protocol.
+ </p>
+
+ <pre>
+ &lt;project name="example" basedir="somewhere"&gt;
+ &lt;dependencies&gt;
+ &lt;runtime&gt;
+ <font color="blue">&lt;include uri="link:jar:demo"/&gt;</font>
+ &lt;/runtime&gt;
+ &lt;/dependencies&gt;
+ &lt;/project&gt;
+ </pre>
+
</subsection>

<subsection name="Summary">
@@ -74,11 +92,20 @@
artifact referencing version 1.0.
</p>

-<source>
-&lt;types&gt;
- &lt;type id="jar" <font color="darkred">version="1.0"</font>/&gt;
-&lt;/types&gt;
-</source>
+<pre>
+ &lt;project name="demo" basedir="."&gt;
+ &lt;properties&gt;
+ &lt;property name="location" value="New York"/&gt;
+ &lt;property name="message" value="Hello from ${user.name} in
${location}"/&gt;
+ &lt;/properties&gt;
+ &lt;types&gt;
+ <font color="darkred">&lt;type id="jar" version="1.0"/&gt;</font>
+ &lt;/types&gt;
+ &lt;filters&gt;
+ &lt;filter token="MESSAGE" value="${message}"/&gt;
+ &lt;/filters&gt;
+ &lt;/project&gt;
+</pre>

</subsection>


Modified: trunk/central/site/src/docs/depot/tutorials/simple/automation.xml
===================================================================
--- trunk/central/site/src/docs/depot/tutorials/simple/automation.xml
2006-07-20 18:21:46 UTC (rev 1620)
+++ trunk/central/site/src/docs/depot/tutorials/simple/automation.xml
2006-07-20 18:38:59 UTC (rev 1621)
@@ -27,14 +27,14 @@
the following:
</p>

-<source>
+<pre>
&lt;project name="demo" default="install"
xmlns:transit="antlib:net.dpml.transit"&gt;

<font color="darkred">&lt;transit:import
uri="local:template:dpml/tools/standard"/&gt;</font>

&lt;/project&gt;
-</source>
+</pre>

</subsection>


Modified: trunk/central/site/src/docs/depot/tutorials/simple/filters.xml
===================================================================
--- trunk/central/site/src/docs/depot/tutorials/simple/filters.xml
2006-07-20 18:21:46 UTC (rev 1620)
+++ trunk/central/site/src/docs/depot/tutorials/simple/filters.xml
2006-07-20 18:38:59 UTC (rev 1621)
@@ -30,7 +30,8 @@
of the toke <tt>@MESSAGE@</tt> with the assigned value.
</p>

-<source>
+<pre>
+&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
&lt;index xmlns="link:xsd:dpml/lang/dpml-module#1.0"&gt;

&lt;project name="demo" basedir="."&gt;
@@ -44,7 +45,7 @@
&lt;/project&gt;

&lt;/index&gt;
-</source>
+</pre>

</subsection>

@@ -59,7 +60,7 @@
contents.
</p>

-<source>
+<pre>
&lt;project name="demo" default="install">

<font color="darkred">&lt;target name="init"&gt;
@@ -81,7 +82,7 @@
&lt;target name="install" depends="build"/&gt;

&lt;/project&gt;
-</source>
+</pre>

</subsection>


Modified: trunk/central/site/src/docs/depot/tutorials/simple/index.xml
===================================================================
--- trunk/central/site/src/docs/depot/tutorials/simple/index.xml
2006-07-20 18:21:46 UTC (rev 1620)
+++ trunk/central/site/src/docs/depot/tutorials/simple/index.xml
2006-07-20 18:38:59 UTC (rev 1621)
@@ -29,14 +29,14 @@
directory containing the index file.
</p>

-<source><![CDATA[
+<pre><![CDATA[
<?xml version="1.0" encoding="ISO-8859-1"?>
<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">

<project name="demo" basedir="."/>

</index>
-]]></source>
+]]></pre>

</subsection>

@@ -49,8 +49,7 @@
will be used in subsequent tutorials).
</p>

-<source><![CDATA[
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<pre><![CDATA[
<project name="demo" default="install">

<target name="clean">
@@ -64,7 +63,7 @@
<target name="install" depends="build"/>

</project>
-]]></source>
+]]></pre>

</subsection>


Modified: trunk/central/site/src/docs/depot/tutorials/simple/properties.xml
===================================================================
--- trunk/central/site/src/docs/depot/tutorials/simple/properties.xml
2006-07-20 18:21:46 UTC (rev 1620)
+++ trunk/central/site/src/docs/depot/tutorials/simple/properties.xml
2006-07-20 18:38:59 UTC (rev 1621)
@@ -25,7 +25,8 @@
project defintion which we will reference in our build file.
</p>

-<source>
+<pre>
+&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
&lt;index xmlns="link:xsd:dpml/lang/dpml-module#1.0"&gt;

&lt;project name="demo" basedir="."&gt;
@@ -35,7 +36,7 @@
&lt;/project&gt;

&lt;/index&gt;
-</source>
+</pre>

</subsection>

@@ -46,7 +47,7 @@
defined property value in an echo statement.
</p>

-<source>
+<pre>
&lt;project name="demo" default="install">

&lt;target name="clean"&gt;
@@ -60,7 +61,7 @@
&lt;target name="install" depends="build"/&gt;

&lt;/project&gt;
-</source>
+</pre>

</subsection>


Modified: trunk/central/site/src/docs/depot/tutorials/simple/symbolic.xml
===================================================================
--- trunk/central/site/src/docs/depot/tutorials/simple/symbolic.xml
2006-07-20 18:21:46 UTC (rev 1620)
+++ trunk/central/site/src/docs/depot/tutorials/simple/symbolic.xml
2006-07-20 18:38:59 UTC (rev 1621)
@@ -25,7 +25,8 @@
defintion of <tt>message</tt>.
</p>

-<source>
+<pre>
+&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
&lt;index xmlns="link:xsd:dpml/lang/dpml-module#1.0"&gt;

&lt;project name="demo" basedir="."&gt;
@@ -36,7 +37,7 @@
&lt;/project&gt;

&lt;/index&gt;
-</source>
+</pre>

</subsection>


Modified: trunk/central/site/src/docs/depot/tutorials/simple/types.xml
===================================================================
--- trunk/central/site/src/docs/depot/tutorials/simple/types.xml
2006-07-20 18:21:46 UTC (rev 1620)
+++ trunk/central/site/src/docs/depot/tutorials/simple/types.xml
2006-07-20 18:38:59 UTC (rev 1621)
@@ -61,7 +61,8 @@
file names and locations.
</p>

-<source>
+<pre>
+&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
&lt;index xmlns="link:xsd:dpml/lang/dpml-module#1.0"&gt;

&lt;project name="demo" basedir="."&gt;
@@ -78,7 +79,7 @@
&lt;/project&gt;

&lt;/index&gt;
-</source>
+</pre>

</subsection>

@@ -91,7 +92,7 @@
a jar file.
</p>

-<source>
+<pre>
&lt;project name="demo" default="install"&gt;

&lt;target name="clean"&gt;
@@ -133,7 +134,7 @@
&lt;/target&gt;

&lt;/project&gt;
-</source>
+</pre>

</subsection>





  • r1621 - in trunk/central/site/src/docs/depot/tutorials: complex simple, mcconnell at BerliOS, 07/20/2006

Archive powered by MHonArc 2.6.24.

Top of Page