Skip to Content.
Sympa Menu

notify-dpml - r1583 - in trunk: . central central/tutorials/components central/tutorials/components/context central/tutorials/components/customize/clock central/tutorials/components/customize/custom central/tutorials/components/examples central/tutorials/components/hello central/tutorials/components/import/api central/tutorials/components/import/clock central/tutorials/components/import/demo central/tutorials/components/lifestyle central/tutorials/components/logging central/tutorials/components/lookup central/tutorials/components/parts central/tutorials/components/singleton central/tutorials/components/state central/tutorials/components/thread central/tutorials/components/transient central/tutorials/components/type

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: r1583 - in trunk: . central central/tutorials/components central/tutorials/components/context central/tutorials/components/customize/clock central/tutorials/components/customize/custom central/tutorials/components/examples central/tutorials/components/hello central/tutorials/components/import/api central/tutorials/components/import/clock central/tutorials/components/import/demo central/tutorials/components/lifestyle central/tutorials/components/logging central/tutorials/components/lookup central/tutorials/components/parts central/tutorials/components/singleton central/tutorials/components/state central/tutorials/components/thread central/tutorials/components/transient central/tutorials/components/type
  • Date: Mon, 17 Jul 2006 17:16:37 +0200

Author: mcconnell
Date: 2006-07-17 17:16:36 +0200 (Mon, 17 Jul 2006)
New Revision: 1583

Added:
trunk/central/module.xml
trunk/central/tutorials/components/module.xml
Removed:
trunk/central/tutorials/components/index.xml
Modified:
trunk/central/
trunk/central/tutorials/components/
trunk/central/tutorials/components/context/
trunk/central/tutorials/components/customize/clock/
trunk/central/tutorials/components/customize/custom/
trunk/central/tutorials/components/examples/
trunk/central/tutorials/components/hello/
trunk/central/tutorials/components/import/api/
trunk/central/tutorials/components/import/clock/
trunk/central/tutorials/components/import/demo/
trunk/central/tutorials/components/lifestyle/
trunk/central/tutorials/components/logging/
trunk/central/tutorials/components/lookup/
trunk/central/tutorials/components/parts/
trunk/central/tutorials/components/singleton/
trunk/central/tutorials/components/state/
trunk/central/tutorials/components/thread/
trunk/central/tutorials/components/transient/
trunk/central/tutorials/components/type/
trunk/index.xml
Log:
add component tutorial examples


Property changes on: trunk/central
___________________________________________________________________
Name: svn:ignore
+ target


Added: trunk/central/module.xml
===================================================================
--- trunk/central/module.xml 2006-07-17 14:15:40 UTC (rev 1582)
+++ trunk/central/module.xml 2006-07-17 15:16:36 UTC (rev 1583)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<module xmlns="link:xsd:dpml/lang/dpml-module#1.0" name="central">
+
+ <dependencies>
+ <build>
+ <include ref="dpml"/>
+ </build>
+ </dependencies>
+
+ <project name="site" basedir="site">
+ <dependencies>
+ <build>
+ <include ref="dpmlx/tutorials"/>
+ </build>
+ </dependencies>
+ <filters>
+ <feature token="VERSION" id="version"/>
+ <feature token="ANT-JAR-VERSION" ref="ant/ant" id="version"/>
+ <feature token="ANT-JAR-URI" ref="ant/ant" id="uri" type="jar" />
+ <feature token="TRANSIT-TOOLS-URI"
ref="dpml/transit/dpml-transit-tools" id="uri" type="jar" />
+ <feature token="TRANSIT-MODULE-VERSION" ref="dpml/transit"
id="version"/>
+ <feature token="TRANSIT-HANDLER-URI"
ref="dpml/transit/dpml-transit-main" id="uri" type="jar" />
+ <feature token="DEPOT-MODULE-VERSION" ref="dpml/depot" id="version"
/>
+ <feature token="DEPOT-CONSOLE-URI"
ref="dpml/depot/dpml-depot-console" id="uri" type="jar" />
+ <feature token="DEPOT-TOOLS-ANT-URI"
ref="dpml/depot/dpml-tools-builder" id="uri" type="part" />
+ <feature token="DEPOT-TOOLS-LIBRARY-URI"
ref="dpml/depot/dpml-library" id="uri" type="jar"/>
+ <feature token="METRO-RUNTIME-URI"
ref="dpml/metro/dpml-metro-runtime" id="uri" type="part"/>
+ <feature token="METRO-TOOLS-URI" ref="dpml/metro/dpml-metro-tools"
id="uri" type="part"/>
+ <feature token="UTIL-CLI-URI" ref="dpml/util/dpml-util-cli" id="uri"
type="jar" />
+ <feature token="UTIL-I18N-URI" ref="dpml/util/dpml-util-i18n"
id="uri" type="jar"/>
+ <feature token="UTIL-LOGGING-API-URI"
ref="dpml/util/dpml-logging-api" id="uri" type="jar"/>
+ </filters>
+ </project>
+
+</module>
\ No newline at end of file


Property changes on: trunk/central/tutorials/components
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/context
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/customize/clock
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/customize/custom
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/examples
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/hello
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/import/api
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/import/clock
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/import/demo
___________________________________________________________________
Name: svn:ignore
+ target


Deleted: trunk/central/tutorials/components/index.xml
===================================================================
--- trunk/central/tutorials/components/index.xml 2006-07-17 14:15:40
UTC (rev 1582)
+++ trunk/central/tutorials/components/index.xml 2006-07-17 15:16:36
UTC (rev 1583)
@@ -1,348 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
-
- <imports>
- <import uri="link:module:ant"/>
- <import uri="link:module:dpml"/>
- </imports>
-
- <modules>
-
- <module name="org/acme">
-
- <properties>
- <property name="project.publisher.name" value="OSM"/>
- <property name="project.publisher.url" value="http://www.osm.net"/>
- </properties>
-
- <filters>
- <filter token="PUBLISHER-NAME" value="${project.publisher.name}"/>
- <filter token="PUBLISHER-URL" value="${project.publisher.url}"/>
- <feature token="PROJECT-VERSION" id="version"/>
- </filters>
-
- <!-- a minimal component -->
-
- <project name="acme-demo-hello" basedir="hello">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo"/>
- </types>
- <dependencies>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <!-- adding context inner interface -->
-
- <project name="acme-demo-context" basedir="context">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo">
- <context>
- <entry key="owner" value="${user.name}"/>
- <entry key="activity" value="Painting"/>
- <entry key="target" value="bike"/>
- <entry key="color" value="silver"/>
- </context>
- </component>
- </types>
- <dependencies>
- <build>
- <include key="acme-demo-hello"/>
- </build>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <!-- demonstrating context primitives, arrays, and constructed values
-->
-
- <project name="acme-demo-examples" basedir="examples">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo">
- <context>
- <entry key="color" method="RED"/>
- <entry key="anotherColor">
- <param class="int" value="100"/>
- <param class="int" value="200"/>
- <param class="int" value="0"/>
- </entry>
- <entry key="integer" value="42"/>
- <entry key="short" value="19"/>
- <entry key="long" value="1042"/>
- <entry key="byte" value="9"/>
- <entry key="double" value="32"/>
- <entry key="float" value="9.813"/>
- <entry key="char" value="x"/>
- <entry key="boolean" value="true"/>
- <entry key="file" value="${work}"/>
- <entry key="tempFile" value="${temp}"/>
- <entry key="URI" value="${uri}"/>
- <entry key="name" value="${name}"/>
- <entry key="path" value="${path}"/>
- <entry key="names">
- <param value="fred"/>
- <param value="george"/>
- <param value="mary"/>
- </entry>
- </context>
- </component>
- </types>
- <dependencies>
- <build>
- <include key="acme-demo-context"/>
- </build>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <project name="acme-parts-demo" basedir="parts">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo">
- <parts>
- <component key="widget" type="org.acme.Widget" name="widget">
- <context>
- <entry key="color" method="BLUE"/>
- </context>
- </component>
- </parts>
- </component>
- </types>
- <dependencies>
- <build>
- <include key="acme-demo-examples"/>
- </build>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <project name="acme-lookup-demo" basedir="lookup">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo">
- <parts>
- <component key="widget" type="org.acme.Widget" name="widget">
- <context>
- <entry key="color" method="BLUE"/>
- </context>
- </component>
- <component key="gizmo" type="org.acme.Gizmo" name="gizmo">
- <context>
- <entry key="widget" lookup="org.acme.Widget"/>
- </context>
- </component>
- </parts>
- </component>
- </types>
- <dependencies>
- <build>
- <include key="acme-parts-demo"/>
- </build>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <project name="acme-lifestyle-demo" basedir="lifestyle">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo">
- <parts>
- <component key="widget" type="org.acme.Widget" name="widget"
lifestyle="transient">
- <context>
- <entry key="color" method="BLUE"/>
- </context>
- </component>
- <component key="gizmo" type="org.acme.Gizmo" name="gizmo">
- <context>
- <entry key="widget" lookup="org.acme.Widget"/>
- </context>
- </component>
- </parts>
- </component>
- </types>
- <dependencies>
- <build>
- <include key="acme-lookup-demo"/>
- </build>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <project name="acme-transient-demo" basedir="transient">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo">
- <context>
- <entry key="count" value="5"/>
- </context>
- <parts>
- <component key="gizmo" type="org.acme.Gizmo"
lifestyle="transient"/>
- </parts>
- </component>
- </types>
- <dependencies>
- <build>
- <include key="acme-lifestyle-demo"/>
- </build>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <project name="acme-thread-demo" basedir="thread">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo">
- <context>
- <entry key="threadCount" value="3"/>
- <entry key="accessCount" value="2"/>
- </context>
- <parts>
- <component key="gizmo" type="org.acme.Gizmo"
lifestyle="thread"/>
- </parts>
- </component>
- </types>
- <dependencies>
- <build>
- <include key="acme-transient-demo"/>
- </build>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <project name="acme-singleton-demo" basedir="singleton">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo">
- <context>
- <entry key="threadCount" value="3"/>
- <entry key="accessCount" value="2"/>
- </context>
- <parts>
- <component key="gizmo" type="org.acme.Gizmo"
lifestyle="singleton"/>
- </parts>
- </component>
- </types>
- <dependencies>
- <build>
- <include key="acme-thread-demo"/>
- </build>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <project name="acme-state-demo" basedir="state">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo"
- lifestyle="transient">
- </component>
- </types>
- <dependencies>
- <build>
- <include key="acme-singleton-demo"/>
- </build>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <project name="acme-logging-demo" basedir="logging">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"
- name="demo"
- lifestyle="transient">
- </component>
- </types>
- <dependencies>
- <build>
- <include key="acme-state-demo"/>
- </build>
- <runtime>
- <include ref="dpml/util/dpml-logging-api"/>
- </runtime>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <project name="acme-type-demo" basedir="type">
- <types>
- <type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
- type="org.acme.Demo"/>
- </types>
- <dependencies>
- <build>
- <include key="acme-logging-demo"/>
- </build>
- <test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </test>
- </dependencies>
- </project>
-
- <module file="customize/module.xml"/>
-
- <module file="import/module.xml"/>
-
- </module>
-
- </modules>
-
-</index>


Property changes on: trunk/central/tutorials/components/lifestyle
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/logging
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/lookup
___________________________________________________________________
Name: svn:ignore
+ target


Copied: trunk/central/tutorials/components/module.xml (from rev 1582,
trunk/central/tutorials/components/index.xml)
===================================================================
--- trunk/central/tutorials/components/index.xml 2006-07-17 14:15:40
UTC (rev 1582)
+++ trunk/central/tutorials/components/module.xml 2006-07-17 15:16:36
UTC (rev 1583)
@@ -0,0 +1,416 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<module xmlns="link:xsd:dpml/lang/dpml-module#1.0"
name="tutorials/components" basedir=".">
+
+ <!-- a minimal component -->
+
+ <project name="acme-demo-hello" basedir="hello">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo"/>
+ </types>
+ <dependencies>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <!-- adding context inner interface -->
+
+ <project name="acme-demo-context" basedir="context">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo">
+ <context>
+ <entry key="owner" value="${user.name}"/>
+ <entry key="activity" value="Painting"/>
+ <entry key="target" value="bike"/>
+ <entry key="color" value="silver"/>
+ </context>
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-demo-hello"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <!-- demonstrating context primitives, arrays, and constructed values -->
+
+ <project name="acme-demo-examples" basedir="examples">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo">
+ <context>
+ <entry key="color" method="RED"/>
+ <entry key="anotherColor">
+ <param class="int" value="100"/>
+ <param class="int" value="200"/>
+ <param class="int" value="0"/>
+ </entry>
+ <entry key="integer" value="42"/>
+ <entry key="short" value="19"/>
+ <entry key="long" value="1042"/>
+ <entry key="byte" value="9"/>
+ <entry key="double" value="32"/>
+ <entry key="float" value="9.813"/>
+ <entry key="char" value="x"/>
+ <entry key="boolean" value="true"/>
+ <entry key="file" value="${work}"/>
+ <entry key="tempFile" value="${temp}"/>
+ <entry key="URI" value="${uri}"/>
+ <entry key="name" value="${name}"/>
+ <entry key="path" value="${path}"/>
+ <entry key="names">
+ <param value="fred"/>
+ <param value="george"/>
+ <param value="mary"/>
+ </entry>
+ </context>
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-demo-context"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <project name="acme-parts-demo" basedir="parts">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo">
+ <parts>
+ <component key="widget" type="org.acme.Widget" name="widget">
+ <context>
+ <entry key="color" method="BLUE"/>
+ </context>
+ </component>
+ </parts>
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-demo-examples"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <project name="acme-lookup-demo" basedir="lookup">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo">
+ <parts>
+ <component key="widget" type="org.acme.Widget" name="widget">
+ <context>
+ <entry key="color" method="BLUE"/>
+ </context>
+ </component>
+ <component key="gizmo" type="org.acme.Gizmo" name="gizmo">
+ <context>
+ <entry key="widget" lookup="org.acme.Widget"/>
+ </context>
+ </component>
+ </parts>
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-parts-demo"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <project name="acme-lifestyle-demo" basedir="lifestyle">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo">
+ <parts>
+ <component key="widget" type="org.acme.Widget" name="widget"
lifestyle="transient">
+ <context>
+ <entry key="color" method="BLUE"/>
+ </context>
+ </component>
+ <component key="gizmo" type="org.acme.Gizmo" name="gizmo">
+ <context>
+ <entry key="widget" lookup="org.acme.Widget"/>
+ </context>
+ </component>
+ </parts>
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-lookup-demo"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <project name="acme-transient-demo" basedir="transient">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo">
+ <context>
+ <entry key="count" value="5"/>
+ </context>
+ <parts>
+ <component key="gizmo" type="org.acme.Gizmo"
lifestyle="transient"/>
+ </parts>
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-lifestyle-demo"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <project name="acme-thread-demo" basedir="thread">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo">
+ <context>
+ <entry key="threadCount" value="3"/>
+ <entry key="accessCount" value="2"/>
+ </context>
+ <parts>
+ <component key="gizmo" type="org.acme.Gizmo" lifestyle="thread"/>
+ </parts>
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-transient-demo"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <project name="acme-singleton-demo" basedir="singleton">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo">
+ <context>
+ <entry key="threadCount" value="3"/>
+ <entry key="accessCount" value="2"/>
+ </context>
+ <parts>
+ <component key="gizmo" type="org.acme.Gizmo"
lifestyle="singleton"/>
+ </parts>
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-thread-demo"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <project name="acme-state-demo" basedir="state">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo"
+ lifestyle="transient">
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-singleton-demo"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <project name="acme-logging-demo" basedir="logging">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"
+ name="demo"
+ lifestyle="transient">
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-state-demo"/>
+ </build>
+ <runtime>
+ <include ref="dpml/util/dpml-logging-api"/>
+ </runtime>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <project name="acme-type-demo" basedir="type">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.Demo"/>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-logging-demo"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <!-- customization demo -->
+
+ <project name="acme-simple-clock" basedir="customize/clock">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.clock.SimpleClock">
+ <context>
+ <entry key="format" value="K:mm a, z"/>
+ </context>
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-type-demo"/>
+ </build>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <project name="acme-custom-clock" basedir="customize/custom">
+ <types>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ uri="resource:part:dpmlx/tutorials/components/acme-simple-clock">
+ <context>
+ <entry key="format" value="h:mm a"/>
+ </context>
+ </component>
+ </types>
+ <dependencies>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ <include key="acme-simple-clock"/>
+ </test>
+ </dependencies>
+ </project>
+
+ <!-- part customization demo -->
+
+ <project name="acme-clock-api" basedir="import/api">
+ <types>
+ <type id="jar"/>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-custom-clock"/>
+ </build>
+ </dependencies>
+ </project>
+
+ <project name="acme-clock-impl" basedir="import/clock">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.scheduler.SimpleClock"/>
+ </types>
+ <dependencies>
+ <runtime>
+ <include key="acme-clock-api"/>
+ </runtime>
+ </dependencies>
+ </project>
+
+ <project name="acme-clock-demo" basedir="import/demo">
+ <types>
+ <type id="jar"/>
+ <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ type="org.acme.demo.Demo">
+ <parts>
+ <component key="clock"
uri="resource:part:dpmlx/tutorials/components/acme-clock-impl">
+ <context>
+ <entry key="format" value="h:mm a"/>
+ </context>
+ </component>
+ </parts>
+ </component>
+ </types>
+ <dependencies>
+ <build>
+ <include key="acme-clock-impl"/>
+ </build>
+ <runtime>
+ <include key="acme-clock-api"/>
+ <include ref="dpml/util/dpml-logging-api"/>
+ </runtime>
+ <test>
+ <include ref="ant/ant-junit"/>
+ <include ref="dpml/transit/dpml-transit-main"/>
+ </test>
+ </dependencies>
+ </project>
+
+</module>
\ No newline at end of file


Property changes on: trunk/central/tutorials/components/parts
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/singleton
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/state
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/thread
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/transient
___________________________________________________________________
Name: svn:ignore
+ target



Property changes on: trunk/central/tutorials/components/type
___________________________________________________________________
Name: svn:ignore
+ target


Modified: trunk/index.xml
===================================================================
--- trunk/index.xml 2006-07-17 14:15:40 UTC (rev 1582)
+++ trunk/index.xml 2006-07-17 15:16:36 UTC (rev 1583)
@@ -40,6 +40,7 @@
<module file="main/station/module.xml"/>
<module file="main/planet/module.xml"/>

+ <!--
<project name="central" basedir="central">
<filters>
<feature token="VERSION" id="version"/>
@@ -59,43 +60,15 @@
<feature token="UTIL-LOGGING-API-URI"
ref="dpml/util/dpml-logging-api" id="uri" type="jar"/>
</filters>
</project>
+ -->

</module>

<module name="dpmlx">
-
- <module name="central" basedir="central">
-
- <dependencies>
- <build>
- <include ref="dpml"/>
- </build>
- </dependencies>
-
- <project name="site" basedir="site">
- <filters>
- <feature token="VERSION" id="version"/>
- <feature token="ANT-JAR-VERSION" ref="ant/ant" id="version"/>
- <feature token="ANT-JAR-URI" ref="ant/ant" id="uri" type="jar" />
- <feature token="TRANSIT-TOOLS-URI"
ref="dpml/transit/dpml-transit-tools" id="uri" type="jar" />
- <feature token="TRANSIT-MODULE-VERSION" ref="dpml/transit"
id="version"/>
- <feature token="TRANSIT-HANDLER-URI"
ref="dpml/transit/dpml-transit-main" id="uri" type="jar" />
- <feature token="DEPOT-MODULE-VERSION" ref="dpml/depot"
id="version" />
- <feature token="DEPOT-CONSOLE-URI"
ref="dpml/depot/dpml-depot-console" id="uri" type="jar" />
- <feature token="DEPOT-TOOLS-ANT-URI"
ref="dpml/depot/dpml-tools-builder" id="uri" type="part" />
- <feature token="DEPOT-TOOLS-LIBRARY-URI"
ref="dpml/depot/dpml-library" id="uri" type="jar"/>
- <feature token="METRO-RUNTIME-URI"
ref="dpml/metro/dpml-metro-runtime" id="uri" type="part"/>
- <feature token="METRO-TOOLS-URI"
ref="dpml/metro/dpml-metro-tools" id="uri" type="part"/>
- <feature token="UTIL-CLI-URI" ref="dpml/util/dpml-util-cli"
id="uri" type="jar" />
- <feature token="UTIL-I18N-URI" ref="dpml/util/dpml-util-i18n"
id="uri" type="jar"/>
- <feature token="UTIL-LOGGING-API-URI"
ref="dpml/util/dpml-logging-api" id="uri" type="jar"/>
- </filters>
- </project>
-
- </module>
-
+ <module file="central/module.xml"/>
+ <module file="central/tutorials/components/module.xml"/>
</module>
-
+
</modules>

</index>




  • r1583 - in trunk: . central central/tutorials/components central/tutorials/components/context central/tutorials/components/customize/clock central/tutorials/components/customize/custom central/tutorials/components/examples central/tutorials/components/hello central/tutorials/components/import/api central/tutorials/components/import/clock central/tutorials/components/import/demo central/tutorials/components/lifestyle central/tutorials/components/logging central/tutorials/components/lookup central/tutorials/components/parts central/tutorials/components/singleton central/tutorials/components/state central/tutorials/components/thread central/tutorials/components/transient central/tutorials/components/type, mcconnell at BerliOS, 07/17/2006

Archive powered by MHonArc 2.6.24.

Top of Page