Skip to Content.
Sympa Menu

notify-dpml - r1308 - in trunk/main/central/src/docs: depot/tools/listeners transit/concepts

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: r1308 - in trunk/main/central/src/docs: depot/tools/listeners transit/concepts
  • Date: Tue, 4 Apr 2006 20:02:22 +0200

Author: mcconnell
Date: 2006-04-04 20:02:18 +0200 (Tue, 04 Apr 2006)
New Revision: 1308

Modified:
trunk/main/central/src/docs/depot/tools/listeners/plugin.xml
trunk/main/central/src/docs/transit/concepts/classloaders.xml
Log:
javadoc clean-up

Modified: trunk/main/central/src/docs/depot/tools/listeners/plugin.xml
===================================================================
--- trunk/main/central/src/docs/depot/tools/listeners/plugin.xml
2006-04-04 17:45:55 UTC (rev 1307)
+++ trunk/main/central/src/docs/depot/tools/listeners/plugin.xml
2006-04-04 18:02:18 UTC (rev 1308)
@@ -31,58 +31,36 @@

<subsection name="Sample plugin descriptor">

-<pre>
+<pre><![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>
+<part xmlns="artifact:xsd:dpml/lang/dpml-part#1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
+
+ <info title="Depot Builder">
+ <description>
+ Ant project builder for Depot.
+ </description>
+ </info>
+
+ <strategy xsi:type="plugin" class="net.dpml.tools.impl.StandardBuilder"/>
+
+ <classpath>
+ <system>
+ <uri>artifact:jar:ant/ant-launcher#1.6.5</uri>
+ <uri>artifact:jar:ant/ant#1.6.5</uri>
+ <uri>artifact:jar:junit/junit#3.8.1</uri>
+ <uri>artifact:jar:ant/ant-junit#1.6.5</uri>
+ <uri>artifact:jar:ant/ant-xslp#1.6.5</uri>
+ <uri>artifact:jar:ant/ant-trax#1.6.5</uri>
+ </system>
+ <private>
+ <uri>artifact:jar:dpml/transit/dpml-transit-main#SNAPSHOT</uri>
+ <uri>artifact:jar:dpml/transit/dpml-transit-tools#SNAPSHOT</uri>
+ <uri>artifact:jar:dpml/depot/dpml-library#SNAPSHOT</uri>
+ <uri>artifact:jar:dpml/depot/dpml-tools-builder#SNAPSHOT</uri>
+ </private>
+ </classpath>
+
+</part>]]></pre>

-
-#
-# Specification classifier.
-#
-dpml.plugin.meta.namespace = net.dpml
-dpml.plugin.meta.version = 1.0
-
-#
-# Artifact descriptor.
-#
-dpml.artifact.group = dpml/metro
-dpml.artifact.name = dpml-composition-runtime
-dpml.artifact.version = SNAPSHOT
-dpml.artifact.signature = 20050721.141035
-
-#
-# Type.
-#
-dpml.plugin.class = net.dpml.metro.runtime.CompositionController
-
-#
-# API dependencies.
-#
-dpml.artifact.dependency.api.0 =
artifact:jar:dpml/metro/dpml-logging-api#SNAPSHOT
-dpml.artifact.dependency.api.1 =
artifact:jar:dpml/metro/dpml-activity-api#SNAPSHOT
-dpml.artifact.dependency.api.2 =
artifact:jar:dpml/metro/dpml-parameters-api#SNAPSHOT
-dpml.artifact.dependency.api.3 =
artifact:jar:dpml/metro/dpml-configuration-api#SNAPSHOT
-dpml.artifact.dependency.api.4 =
artifact:jar:dpml/transit/dpml-transit-main#SNAPSHOT
-
-#
-# SPI dependencies.
-#
-dpml.artifact.dependency.spi.0 =
artifact:jar:dpml/metro/dpml-composition-model#SNAPSHOT
-dpml.artifact.dependency.spi.1 =
artifact:jar:dpml/metro/dpml-metro-component#SNAPSHOT
-
-#
-# Implementation dependencies.
-#
-dpml.artifact.dependency.0 =
artifact:jar:dpml/metro/dpml-parameters-impl#SNAPSHOT
-dpml.artifact.dependency.1 =
artifact:jar:dpml/metro/dpml-configuration-impl#SNAPSHOT
-dpml.artifact.dependency.2 = artifact:jar:xerces/xercesImpl#2.6.2
-dpml.artifact.dependency.3 = artifact:jar:xerces/xmlParserAPIs#2.6.2
-dpml.artifact.dependency.4 =
artifact:jar:dpml/metro/dpml-composition-runtime#SNAPSHOT
-
-#
-# EOF.
-#
-
-</pre>
-
</subsection>

</section>

Modified: trunk/main/central/src/docs/transit/concepts/classloaders.xml
===================================================================
--- trunk/main/central/src/docs/transit/concepts/classloaders.xml
2006-04-04 17:45:55 UTC (rev 1307)
+++ trunk/main/central/src/docs/transit/concepts/classloaders.xml
2006-04-04 18:02:18 UTC (rev 1308)
@@ -55,10 +55,10 @@
<img src="/images/transit/chain.png"/>

<p>
- Plugin files use a simple property file format to declare features of
+ Plugin files use a XML file format to declare features of
of the classloader, including information used when resolving
plugins.
This information is normally created automatically using the
- <a href="/depot/tools/listeners/plugin.html">Plugin Builder</a> from
the
+ <a href="/depot/tasks/plugin.html">Plugin Builder</a> from the
<a href="/depot/tools/index.html">Depot</a> build system.
</p>

@@ -68,10 +68,9 @@
</p>

<source>
-Repository repository = Transit.getInstance().getRepository();
-ClassLoader parent = getClass().getClassLoader();
URI uri = new URI( "artifact:plugin:dpml/examples/hello/hello-world#1.0.0" );
-ClassLoader classloader = repository.getClassloader( parent, uri );
+Part part = Part.load( uri );
+ClassLoader classloader = part.getClassloader();
</source>

</section>




  • r1308 - in trunk/main/central/src/docs: depot/tools/listeners transit/concepts, mcconnell at BerliOS, 04/04/2006

Archive powered by MHonArc 2.6.24.

Top of Page