Skip to Content.
Sympa Menu

notify-dpml - r1817 - in trunk/tutorials: . components/context components/context/etc components/context/src/test/org/acme/test components/customize/clock components/customize/clock/etc components/customize/custom components/customize/extension components/examples components/examples/etc components/examples/src/test/org/acme/test components/hello components/hello/etc components/hello/src/test/org/acme/test components/import/api components/import/clock components/import/demo components/import/demo/src/main/org/acme/demo components/lifestyle components/lifestyle/etc components/lifestyle/src/main/org/acme components/lifestyle/src/test/org/acme/test components/logging components/logging/etc components/logging/src/test/org/acme/test components/lookup components/lookup/etc components/lookup/src/test/org/acme/test components/parts components/parts/etc components/parts/src/test/org/acme/test components/singleton components/singleton/etc components/singleton/etc/data components/singleton/! src/main/org/acme components/singleton/src/test/org/acme/test components/state components/state/etc components/state/src/main/org/acme components/state/src/test/org/acme/test components/thread components/thread/etc components/thread/src/main/org/acme components/thread/src/test/org/acme/test components/transient components/transient/etc components/transient/src/main/org/acme components/transient/src/test/org/acme/test components/type components/unit tooling tooling/alias tooling/automation tooling/complex/build tooling/complex/build/api tooling/complex/build/impl tooling/complex/export tooling/complex/export/api tooling/complex/export/impl tooling/complex/modules tooling/complex/modules/api tooling/complex/modules/impl tooling/complex/plugin tooling/complex/plugin/api tooling/complex/plugin/impl tooling/complex/plugin/impl/etc tooling/complex/plugin/impl/src/main/org/acme/impl tooling/complex/plugin/impl/src/test/org/acme/impl/test tooling/filters tooling/imports tooling/pro! perties tooling/simple tooling/symbolic tooling/types tooling/! unit too

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: r1817 - in trunk/tutorials: . components/context components/context/etc components/context/src/test/org/acme/test components/customize/clock components/customize/clock/etc components/customize/custom components/customize/extension components/examples components/examples/etc components/examples/src/test/org/acme/test components/hello components/hello/etc components/hello/src/test/org/acme/test components/import/api components/import/clock components/import/demo components/import/demo/src/main/org/acme/demo components/lifestyle components/lifestyle/etc components/lifestyle/src/main/org/acme components/lifestyle/src/test/org/acme/test components/logging components/logging/etc components/logging/src/test/org/acme/test components/lookup components/lookup/etc components/lookup/src/test/org/acme/test components/parts components/parts/etc components/parts/src/test/org/acme/test components/singleton components/singleton/etc components/singleton/etc/data components/singleton/! src/main/org/acme components/singleton/src/test/org/acme/test components/state components/state/etc components/state/src/main/org/acme components/state/src/test/org/acme/test components/thread components/thread/etc components/thread/src/main/org/acme components/thread/src/test/org/acme/test components/transient components/transient/etc components/transient/src/main/org/acme components/transient/src/test/org/acme/test components/type components/unit tooling tooling/alias tooling/automation tooling/complex/build tooling/complex/build/api tooling/complex/build/impl tooling/complex/export tooling/complex/export/api tooling/complex/export/impl tooling/complex/modules tooling/complex/modules/api tooling/complex/modules/impl tooling/complex/plugin tooling/complex/plugin/api tooling/complex/plugin/impl tooling/complex/plugin/impl/etc tooling/complex/plugin/impl/src/main/org/acme/impl tooling/complex/plugin/impl/src/test/org/acme/impl/test tooling/filters tooling/imports tooling/pro! perties tooling/simple tooling/symbolic tooling/types tooling/! unit too
  • Date: Fri, 9 Feb 2007 00:30:24 +0100

Author: mcconnell
Date: 2007-02-09 00:30:11 +0100 (Fri, 09 Feb 2007)
New Revision: 1817

Added:
trunk/tutorials/components/context/etc/
trunk/tutorials/components/context/etc/component.xml
trunk/tutorials/components/customize/clock/etc/component.xml
trunk/tutorials/components/examples/etc/
trunk/tutorials/components/examples/etc/component.xml
trunk/tutorials/components/hello/etc/
trunk/tutorials/components/hello/etc/component.xml
trunk/tutorials/components/lifestyle/etc/component.xml
trunk/tutorials/components/logging/etc/component.xml
trunk/tutorials/components/lookup/etc/component.xml
trunk/tutorials/components/parts/etc/component.xml
trunk/tutorials/components/singleton/etc/component.xml
trunk/tutorials/components/state/etc/component.xml
trunk/tutorials/components/state/src/main/org/acme/Demo.xgraph
trunk/tutorials/components/thread/etc/component.xml
trunk/tutorials/components/transient/etc/component.xml
trunk/tutorials/tooling/complex/plugin/impl/etc/
trunk/tutorials/tooling/complex/plugin/impl/etc/plugin.xml
Modified:
trunk/tutorials/build.xml
trunk/tutorials/components/context/build.xml
trunk/tutorials/components/context/src/test/org/acme/test/DemoTestCase.java

trunk/tutorials/components/context/src/test/org/acme/test/ProxyTestCase.java
trunk/tutorials/components/customize/clock/build.xml
trunk/tutorials/components/customize/custom/build.xml
trunk/tutorials/components/customize/extension/build.xml
trunk/tutorials/components/examples/build.xml

trunk/tutorials/components/examples/src/test/org/acme/test/DemoTestCase.java
trunk/tutorials/components/hello/build.xml
trunk/tutorials/components/hello/src/test/org/acme/test/DemoTestCase.java
trunk/tutorials/components/import/api/build.xml
trunk/tutorials/components/import/clock/build.xml
trunk/tutorials/components/import/demo/build.xml
trunk/tutorials/components/import/demo/src/main/org/acme/demo/Demo.java
trunk/tutorials/components/lifestyle/build.xml
trunk/tutorials/components/lifestyle/src/main/org/acme/Gizmo.java

trunk/tutorials/components/lifestyle/src/test/org/acme/test/DemoTestCase.java
trunk/tutorials/components/logging/build.xml
trunk/tutorials/components/logging/src/test/org/acme/test/DemoTestCase.java
trunk/tutorials/components/lookup/build.xml
trunk/tutorials/components/lookup/src/test/org/acme/test/DemoTestCase.java
trunk/tutorials/components/parts/build.xml
trunk/tutorials/components/parts/src/test/org/acme/test/DemoTestCase.java
trunk/tutorials/components/singleton/build.xml
trunk/tutorials/components/singleton/etc/data/logging.properties
trunk/tutorials/components/singleton/src/main/org/acme/Demo.java
trunk/tutorials/components/singleton/src/main/org/acme/Gizmo.java

trunk/tutorials/components/singleton/src/test/org/acme/test/DemoTestCase.java
trunk/tutorials/components/state/build.xml
trunk/tutorials/components/state/src/test/org/acme/test/DemoTestCase.java
trunk/tutorials/components/thread/build.xml
trunk/tutorials/components/thread/src/main/org/acme/Gizmo.java
trunk/tutorials/components/thread/src/test/org/acme/test/DemoTestCase.java
trunk/tutorials/components/transient/build.xml
trunk/tutorials/components/transient/src/main/org/acme/Gizmo.java

trunk/tutorials/components/transient/src/test/org/acme/test/DemoTestCase.java
trunk/tutorials/components/type/build.xml
trunk/tutorials/components/unit/build.xml
trunk/tutorials/module.xml
trunk/tutorials/tooling/alias/build.xml
trunk/tutorials/tooling/alias/index.xml
trunk/tutorials/tooling/automation/build.xml
trunk/tutorials/tooling/automation/index.xml
trunk/tutorials/tooling/build.xml
trunk/tutorials/tooling/complex/build/api/build.xml
trunk/tutorials/tooling/complex/build/impl/build.xml
trunk/tutorials/tooling/complex/build/impl/test.properties
trunk/tutorials/tooling/complex/build/index.xml
trunk/tutorials/tooling/complex/export/api/build.xml
trunk/tutorials/tooling/complex/export/impl/build.xml
trunk/tutorials/tooling/complex/export/impl/test.properties
trunk/tutorials/tooling/complex/export/index.xml
trunk/tutorials/tooling/complex/modules/api/build.xml
trunk/tutorials/tooling/complex/modules/impl/build.xml
trunk/tutorials/tooling/complex/modules/impl/test.properties
trunk/tutorials/tooling/complex/modules/index.xml
trunk/tutorials/tooling/complex/plugin/api/build.xml
trunk/tutorials/tooling/complex/plugin/build.xml
trunk/tutorials/tooling/complex/plugin/impl/build.xml

trunk/tutorials/tooling/complex/plugin/impl/src/main/org/acme/impl/SimpleClock.java

trunk/tutorials/tooling/complex/plugin/impl/src/test/org/acme/impl/test/DemoTestCase.java
trunk/tutorials/tooling/complex/plugin/impl/test.properties
trunk/tutorials/tooling/complex/plugin/index.xml
trunk/tutorials/tooling/filters/index.xml
trunk/tutorials/tooling/imports/build.xml
trunk/tutorials/tooling/imports/index.xml
trunk/tutorials/tooling/imports/test.properties
trunk/tutorials/tooling/properties/index.xml
trunk/tutorials/tooling/simple/index.xml
trunk/tutorials/tooling/symbolic/index.xml
trunk/tutorials/tooling/types/index.xml
trunk/tutorials/tooling/unit/build.xml
trunk/tutorials/tooling/unit/index.xml
trunk/tutorials/tooling/versioning/decimal/api/build.xml
trunk/tutorials/tooling/versioning/decimal/build.xml
trunk/tutorials/tooling/versioning/decimal/impl/build.xml
trunk/tutorials/tooling/versioning/decimal/impl/test.properties
trunk/tutorials/tooling/versioning/decimal/index.xml
Log:
SDK 2.X initial commit.

Modified: trunk/tutorials/build.xml
===================================================================
--- trunk/tutorials/build.xml 2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/build.xml 2007-02-08 23:30:11 UTC (rev 1817)
@@ -18,9 +18,8 @@
-->

<project name="tutorials" default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot"
- xmlns:c="dpml:metro">
+ xmlns:transit="antlib:dpml.tools.transit"
+ xmlns:x="dpml:depot">

<transit:import uri="local:template:dpml/tools/standard"/>

@@ -28,7 +27,7 @@
<property name="checkstyle.dir"
location="${basedir}/target/reports/checkstyle"/>
<property name="checkstyle.data"
location="${checkstyle.dir}/checkstyle.xml"/>
<x:plugin uri="link:part:dpml/depot/dpml-depot-checkstyle">
- <task class="net.dpml.tools.checkstyle.CheckstyleTask"
name="checkstyle"/>
+ <task class="dpml.tools.checkstyle.CheckstyleTask" name="checkstyle"/>
</x:plugin>
<mkdir dir="${checkstyle.dir}"/>
<checkstyle implicit="false">

Modified: trunk/tutorials/components/context/build.xml
===================================================================
--- trunk/tutorials/components/context/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/context/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/context/etc/component.xml
===================================================================
--- trunk/tutorials/components/context/etc/component.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/context/etc/component.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro"
+ 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>
+

Modified:
trunk/tutorials/components/context/src/test/org/acme/test/DemoTestCase.java
===================================================================
---
trunk/tutorials/components/context/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/components/context/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,7 +23,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Demo;

@@ -42,8 +42,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri );
- Demo demo = (Demo) part.getContent();
+ Strategy strategy = Strategy.load( uri );
+ Demo demo = strategy.getInstance( Demo.class );
String message = demo.getMessage();
String name = System.getProperty( "user.name" );
assertEquals( "message", "Painting " + name + "'s bike silver.",
message );

Modified:
trunk/tutorials/components/context/src/test/org/acme/test/ProxyTestCase.java
===================================================================
---
trunk/tutorials/components/context/src/test/org/acme/test/ProxyTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/components/context/src/test/org/acme/test/ProxyTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -24,7 +24,7 @@

import junit.framework.TestCase;

-import net.dpml.util.ContextInvocationHandler;
+import dpml.lang.ContextInvocationHandler;

import org.acme.Demo;
import org.acme.Demo.Context;
@@ -52,18 +52,17 @@
public void testComponent() throws Exception
{
Logger logger = Logger.getLogger( "test" );
- Class clazz = Demo.Context.class;
- Map map = buildContextMap();
- Context context =
- (Context) ContextInvocationHandler.getProxiedInstance( clazz, map
);
+ Class<?> clazz = Demo.Context.class;
+ Map<String,Object> map = buildContextMap();
+ Context context = (Context)
ContextInvocationHandler.getProxiedInstance( clazz, map );
Demo demo = new Demo( logger, context );
String message = demo.getMessage();
assertEquals( "message", MESSAGE, message );
}

- private Map buildContextMap()
+ private Map<String,Object> buildContextMap()
{
- Map map = new Hashtable();
+ Map<String,Object> map = new Hashtable<String,Object>();
map.put( "activity", ACTIVITY );
map.put( "owner", OWNER );
map.put( "target", TARGET );

Modified: trunk/tutorials/components/customize/clock/build.xml
===================================================================
--- trunk/tutorials/components/customize/clock/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/customize/clock/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/customize/clock/etc/component.xml
===================================================================
--- trunk/tutorials/components/customize/clock/etc/component.xml
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/customize/clock/etc/component.xml
2007-02-08 23:30:11 UTC (rev 1817)
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro" alias="true"
+ type="org.acme.clock.SimpleClock" name="clock">
+ <context>
+ <entry key="format" value="K:mm a, z"/>
+ </context>
+</component>

Modified: trunk/tutorials/components/customize/custom/build.xml
===================================================================
--- trunk/tutorials/components/customize/custom/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/customize/custom/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Modified: trunk/tutorials/components/customize/extension/build.xml
===================================================================
--- trunk/tutorials/components/customize/extension/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/customize/extension/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

</project>

Modified: trunk/tutorials/components/examples/build.xml
===================================================================
--- trunk/tutorials/components/examples/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/examples/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/examples/etc/component.xml
===================================================================
--- trunk/tutorials/components/examples/etc/component.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/examples/etc/component.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro"
+ 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>

Modified:
trunk/tutorials/components/examples/src/test/org/acme/test/DemoTestCase.java
===================================================================
---
trunk/tutorials/components/examples/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/components/examples/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,7 +23,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Demo;

@@ -42,8 +42,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri );
- Demo demo = (Demo) part.getContent();
+ Strategy strategy = Strategy.load( uri );
+ Demo demo = strategy.getInstance( Demo.class );
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/components/hello/build.xml
===================================================================
--- trunk/tutorials/components/hello/build.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/components/hello/build.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/hello/etc/component.xml
===================================================================
--- trunk/tutorials/components/hello/etc/component.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/hello/etc/component.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro" name="demo" type="org.acme.Demo"/>

Modified:
trunk/tutorials/components/hello/src/test/org/acme/test/DemoTestCase.java
===================================================================
--- trunk/tutorials/components/hello/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/hello/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,7 +23,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Demo;

@@ -42,8 +42,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri );
- Demo demo = (Demo) part.getContent();
+ Strategy strategy = Strategy.load( uri );
+ Demo demo = strategy.getInstance( Demo.class );
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/components/import/api/build.xml
===================================================================
--- trunk/tutorials/components/import/api/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/import/api/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
+ xmlns:transit="antlib:dpml.tools.transit"
xmlns:x="dpml:depot">

<transit:import uri="local:template:dpml/tools/standard"/>

Modified: trunk/tutorials/components/import/clock/build.xml
===================================================================
--- trunk/tutorials/components/import/clock/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/import/clock/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
+ xmlns:transit="antlib:dpml.tools.transit"
xmlns:x="dpml:depot">

<transit:import uri="local:template:dpml/tools/standard"/>

Modified: trunk/tutorials/components/import/demo/build.xml
===================================================================
--- trunk/tutorials/components/import/demo/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/import/demo/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
+ xmlns:transit="antlib:dpml.tools.transit"
xmlns:x="dpml:depot">

<transit:import uri="local:template:dpml/tools/standard"/>

Modified:
trunk/tutorials/components/import/demo/src/main/org/acme/demo/Demo.java
===================================================================
--- trunk/tutorials/components/import/demo/src/main/org/acme/demo/Demo.java
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/import/demo/src/main/org/acme/demo/Demo.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -20,7 +20,7 @@

import org.acme.Clock;

-import net.dpml.logging.Logger;
+import net.dpml.util.Logger;

/**
* A minimal component.

Modified: trunk/tutorials/components/lifestyle/build.xml
===================================================================
--- trunk/tutorials/components/lifestyle/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/lifestyle/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/lifestyle/etc/component.xml
===================================================================
--- trunk/tutorials/components/lifestyle/etc/component.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/lifestyle/etc/component.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro"
+ 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>

Modified: trunk/tutorials/components/lifestyle/src/main/org/acme/Gizmo.java
===================================================================
--- trunk/tutorials/components/lifestyle/src/main/org/acme/Gizmo.java
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/lifestyle/src/main/org/acme/Gizmo.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -18,12 +18,17 @@

package org.acme;

+import net.dpml.annotation.Component;
+import static net.dpml.annotation.LifestylePolicy.TRANSIENT;
+
+
/**
* A test component.
*
* @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
* @version @PROJECT-VERSION@
*/
+@Component( lifestyle=TRANSIENT )
public class Gizmo
{
/**

Modified:
trunk/tutorials/components/lifestyle/src/test/org/acme/test/DemoTestCase.java
===================================================================
---
trunk/tutorials/components/lifestyle/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/components/lifestyle/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,7 +23,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Demo;

@@ -42,10 +42,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri, false );
- Demo demo = (Demo) part.getContent();
- demo = null;
- System.gc();
+ Strategy strategy = Strategy.load( uri );
+ Demo demo = strategy.getInstance( Demo.class );
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/components/logging/build.xml
===================================================================
--- trunk/tutorials/components/logging/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/logging/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/logging/etc/component.xml
===================================================================
--- trunk/tutorials/components/logging/etc/component.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/logging/etc/component.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro"
+ type="org.acme.Demo"
+ name="demo"
+ lifestyle="transient"/>

Modified:
trunk/tutorials/components/logging/src/test/org/acme/test/DemoTestCase.java
===================================================================
---
trunk/tutorials/components/logging/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/components/logging/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,7 +23,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Demo;

@@ -42,8 +42,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri );
- Demo demo = (Demo) part.getContent();
+ Strategy strategy = Strategy.load( uri );
+ Demo demo = strategy.getInstance( Demo.class );
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/components/lookup/build.xml
===================================================================
--- trunk/tutorials/components/lookup/build.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/components/lookup/build.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/lookup/etc/component.xml
===================================================================
--- trunk/tutorials/components/lookup/etc/component.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/lookup/etc/component.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro"
+ 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>

Modified:
trunk/tutorials/components/lookup/src/test/org/acme/test/DemoTestCase.java
===================================================================
---
trunk/tutorials/components/lookup/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/components/lookup/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,7 +23,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Demo;

@@ -42,11 +42,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri );
- Demo demo = (Demo) part.getContent();
- //part = null;
- //demo = null;
- System.gc();
+ Strategy strategy = Strategy.load( uri );
+ Demo demo = strategy.getInstance( Demo.class );
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/components/parts/build.xml
===================================================================
--- trunk/tutorials/components/parts/build.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/components/parts/build.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/parts/etc/component.xml
===================================================================
--- trunk/tutorials/components/parts/etc/component.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/parts/etc/component.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro"
+ 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>

Modified:
trunk/tutorials/components/parts/src/test/org/acme/test/DemoTestCase.java
===================================================================
--- trunk/tutorials/components/parts/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/parts/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,7 +23,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Demo;

@@ -42,8 +42,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri );
- Demo demo = (Demo) part.getContent();
+ Strategy strategy = Strategy.load( uri );
+ Demo demo = strategy.getInstance( Demo.class );
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/components/singleton/build.xml
===================================================================
--- trunk/tutorials/components/singleton/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/singleton/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/singleton/etc/component.xml
===================================================================
--- trunk/tutorials/components/singleton/etc/component.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/singleton/etc/component.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro"
+ 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>

Modified: trunk/tutorials/components/singleton/etc/data/logging.properties
===================================================================
--- trunk/tutorials/components/singleton/etc/data/logging.properties
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/singleton/etc/data/logging.properties
2007-02-08 23:30:11 UTC (rev 1817)
@@ -1,4 +1,7 @@
-.level=INFO
+.level=FINEST
+dpml.part.level=INFO
+dpml.lang.level=INFO
+dpml.transit.level=INFO
#sun.rmi.level=INFO
#dpml.metro.level=FINEST
#demo.level=FINE

Modified: trunk/tutorials/components/singleton/src/main/org/acme/Demo.java
===================================================================
--- trunk/tutorials/components/singleton/src/main/org/acme/Demo.java
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/singleton/src/main/org/acme/Demo.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -21,12 +21,16 @@
import java.util.logging.Logger;
import java.util.logging.Level;

+import net.dpml.annotation.Component;
+import static net.dpml.annotation.LifestylePolicy.SINGLETON;
+
/**
* A minimal component.
*
* @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
* @version @PROJECT-VERSION@
*/
+@Component( lifestyle=SINGLETON )
public class Demo
{
/**

Modified: trunk/tutorials/components/singleton/src/main/org/acme/Gizmo.java
===================================================================
--- trunk/tutorials/components/singleton/src/main/org/acme/Gizmo.java
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/singleton/src/main/org/acme/Gizmo.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -18,12 +18,16 @@

package org.acme;

+import net.dpml.annotation.Component;
+import static net.dpml.annotation.LifestylePolicy.SINGLETON;
+
/**
* A test component.
*
* @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
* @version @PROJECT-VERSION@
*/
+@Component( lifestyle=SINGLETON )
public class Gizmo
{
}

Modified:
trunk/tutorials/components/singleton/src/test/org/acme/test/DemoTestCase.java
===================================================================
---
trunk/tutorials/components/singleton/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/components/singleton/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,7 +23,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Demo;

@@ -42,8 +42,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri, false );
- Demo demo = (Demo) part.getContent();
+ Strategy strategy = Strategy.load( uri );
+ Demo demo = strategy.getInstance( Demo.class );
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/components/state/build.xml
===================================================================
--- trunk/tutorials/components/state/build.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/components/state/build.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>

-<project xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+<project xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">
@@ -13,33 +12,4 @@
<convert srcdir="target/build/test" destdir="target/reports/src"/>
</target>

- <target name="init" depends="standard.init">
- <x:plugin uri="link:part:dpml/metro/dpml-metro-tools">
- <task name="state" class="net.dpml.metro.tools.StateTask"/>
- </x:plugin>
- </target>
-
- <target name="build" depends="standard.build">
- <state class="org.acme.Demo">
- <trigger event="initialization">
- <transition name="start" target="started">
- <operation name="startup" method="start"/>
- </transition>
- </trigger>
- <state name="started">
- <transition name="stop" target="../stopped">
- <operation name="stop" method="stop"/>
- </transition>
- <trigger event="termination">
- <apply id="stop"/>
- </trigger>
- </state>
- <state name="stopped">
- <transition name="start" target="../started">
- <operation name="start" method="start"/>
- </transition>
- </state>
- </state>
- </target>
-
</project>

Added: trunk/tutorials/components/state/etc/component.xml
===================================================================
--- trunk/tutorials/components/state/etc/component.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/state/etc/component.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro"
+ type="org.acme.Demo"
+ name="demo"
+ lifestyle="transient"/>

Added: trunk/tutorials/components/state/src/main/org/acme/Demo.xgraph
===================================================================
--- trunk/tutorials/components/state/src/main/org/acme/Demo.xgraph
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/state/src/main/org/acme/Demo.xgraph
2007-02-08 23:30:11 UTC (rev 1817)
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+
+<state xmlns="dpml:state">
+ <trigger event="initialization">
+ <transition name="start" target="started">
+ <operation name="startup" method="start"/>
+ </transition>
+ </trigger>
+ <state name="started">
+ <transition name="stop" target="../stopped">
+ <operation name="stop" method="stop"/>
+ </transition>
+ <trigger event="termination">
+ <apply id="stop"/>
+ </trigger>
+ </state>
+ <state name="stopped">
+ <transition name="start" target="../started">
+ <operation name="start" method="start"/>
+ </transition>
+ </state>
+</state>

Modified:
trunk/tutorials/components/state/src/test/org/acme/test/DemoTestCase.java
===================================================================
--- trunk/tutorials/components/state/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/state/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,8 +23,11 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.runtime.Component;
+import net.dpml.runtime.Provider;

+import net.dpml.lang.Strategy;
+
import org.acme.Demo;

/**
@@ -42,10 +45,11 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri, false );
- Demo demo = (Demo) part.getContent();
- demo = null;
- System.gc();
+ Strategy strategy = Strategy.load( uri );
+ Component component = strategy.getContentForClass( Component.class );
+ Provider provider = component.getProvider();
+ Demo demo = provider.getInstance( Demo.class );
+ component.terminate();
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/components/thread/build.xml
===================================================================
--- trunk/tutorials/components/thread/build.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/components/thread/build.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/thread/etc/component.xml
===================================================================
--- trunk/tutorials/components/thread/etc/component.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/thread/etc/component.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro"
+ 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>

Modified: trunk/tutorials/components/thread/src/main/org/acme/Gizmo.java
===================================================================
--- trunk/tutorials/components/thread/src/main/org/acme/Gizmo.java
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/thread/src/main/org/acme/Gizmo.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -18,12 +18,16 @@

package org.acme;

+import net.dpml.annotation.Component;
+import static net.dpml.annotation.LifestylePolicy.THREAD;
+
/**
* A test component.
*
* @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
* @version @PROJECT-VERSION@
*/
+@Component( lifestyle=THREAD )
public class Gizmo
{
}

Modified:
trunk/tutorials/components/thread/src/test/org/acme/test/DemoTestCase.java
===================================================================
---
trunk/tutorials/components/thread/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/components/thread/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,7 +23,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Demo;

@@ -42,8 +42,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri, false );
- Demo demo = (Demo) part.getContent();
+ Strategy strategy = Strategy.load( uri );
+ Demo demo = strategy.getInstance( Demo.class );
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/components/transient/build.xml
===================================================================
--- trunk/tutorials/components/transient/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/components/transient/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Added: trunk/tutorials/components/transient/etc/component.xml
===================================================================
--- trunk/tutorials/components/transient/etc/component.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/transient/etc/component.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<component xmlns="dpml:metro"
+ 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>

Modified: trunk/tutorials/components/transient/src/main/org/acme/Gizmo.java
===================================================================
--- trunk/tutorials/components/transient/src/main/org/acme/Gizmo.java
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/components/transient/src/main/org/acme/Gizmo.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -18,12 +18,16 @@

package org.acme;

+import net.dpml.annotation.Component;
+import static net.dpml.annotation.LifestylePolicy.TRANSIENT;
+
/**
* A test component.
*
* @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
* @version @PROJECT-VERSION@
*/
+@Component( lifestyle=TRANSIENT )
public class Gizmo
{
}

Modified:
trunk/tutorials/components/transient/src/test/org/acme/test/DemoTestCase.java
===================================================================
---
trunk/tutorials/components/transient/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/components/transient/src/test/org/acme/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -23,7 +23,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Demo;

@@ -42,8 +42,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri, false );
- Demo demo = (Demo) part.getContent();
+ Strategy strategy = Strategy.load( uri );
+ Demo demo = strategy.getInstance( Demo.class );
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/components/type/build.xml
===================================================================
--- trunk/tutorials/components/type/build.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/components/type/build.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>

-<project xmlns:transit="antlib:net.dpml.transit"
+<project xmlns:transit="antlib:dpml.tools.transit"
xmlns:x="dpml:depot">

<transit:import uri="local:template:dpml/tools/standard"/>

Modified: trunk/tutorials/components/unit/build.xml
===================================================================
--- trunk/tutorials/components/unit/build.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/components/unit/build.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project default="install"
- xmlns:transit="antlib:net.dpml.transit"
+ xmlns:transit="antlib:dpml.tools.transit"
xmlns:depot="dpml:depot" >

<transit:import uri="local:template:dpml/tools/standard"/>

Modified: trunk/tutorials/module.xml
===================================================================
--- trunk/tutorials/module.xml 2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/module.xml 2007-02-08 23:30:11 UTC (rev 1817)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<module xmlns="link:xsd:dpml/lang/dpml-module#1.0" name="tutorials">
+<module xmlns="dpml:library" name="tutorials">

<dependencies>
<build>
@@ -32,14 +32,12 @@
<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"/>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</test>
</dependencies>
</project>
@@ -49,24 +47,15 @@
<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>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-demo-hello"/>
</build>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</test>
</dependencies>
</project>
@@ -76,44 +65,15 @@
<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>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-demo-context"/>
</build>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</test>
</dependencies>
</project>
@@ -121,25 +81,15 @@
<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>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-demo-examples"/>
</build>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</test>
</dependencies>
</project>
@@ -147,30 +97,15 @@
<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>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-parts-demo"/>
</build>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</test>
</dependencies>
</project>
@@ -178,30 +113,17 @@
<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>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-lookup-demo"/>
</build>
+ <runtime>
+ <include ref="dpml/lang/dpml-lang-part"/>
+ </runtime>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
</test>
</dependencies>
</project>
@@ -209,24 +131,17 @@
<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>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-lifestyle-demo"/>
</build>
+ <runtime>
+ <include ref="dpml/lang/dpml-lang-part"/>
+ </runtime>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
</test>
</dependencies>
</project>
@@ -234,25 +149,17 @@
<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>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-transient-demo"/>
</build>
+ <runtime>
+ <include ref="dpml/lang/dpml-lang-part"/>
+ </runtime>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
</test>
</dependencies>
</project>
@@ -260,25 +167,17 @@
<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>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-thread-demo"/>
</build>
+ <runtime>
+ <include ref="dpml/lang/dpml-lang-part"/>
+ </runtime>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
</test>
</dependencies>
</project>
@@ -286,19 +185,16 @@
<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>
+ <!--<type id="part" source="target/component.xml" test="true"/>-->
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-singleton-demo"/>
</build>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
+ <include ref="org/apache/ant/ant-junit"/>
</test>
</dependencies>
</project>
@@ -306,73 +202,68 @@
<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>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-state-demo"/>
</build>
<runtime>
- <include ref="dpml/util/dpml-logging-api"/>
+ <include uri="artifact:jar:dpml/util/dpml-logging-api#1.0.0"/>
</runtime>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
+ <include ref="org/apache/ant/ant-junit"/>
</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"/>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-logging-demo"/>
</build>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</test>
</dependencies>
</project>
+ -->

<!-- customization demo: simple clock -->

+ <!--
<project name="acme-simple-clock" basedir="customize/clock">
<info title="Simple Clock"/>
<types>
<type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0" alias="true"
- type="org.acme.clock.SimpleClock" name="clock">
- <context>
- <entry key="format" value="K:mm a, z"/>
- </context>
- </component>
+ <type id="part" source="target/component.xml"/>
</types>
<dependencies>
<build>
<include key="acme-type-demo"/>
</build>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</test>
</dependencies>
</project>
+ -->

<!-- extension demo -->

+ <!--
<project name="acme-extended-clock" basedir="customize/extension">
<info title="Extended Clock"/>
<types>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ <component xmlns="dpml:metro"
uri="link:part:dpmlx/tutorials/components/acme-simple-clock"
name="clock">
<context>
<entry key="format" value="K:mm a"/>
@@ -384,18 +275,19 @@
<include key="acme-simple-clock"/>
</runtime>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</test>
</dependencies>
</project>
+ -->

-
+ <!--
<project name="acme-custom-clock" basedir="customize/custom">
<info title="Custom Clock"/>
<types>
<type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ <component xmlns="dpml:metro"
uri="link:part:dpmlx/tutorials/components/acme-simple-clock"
name="clock">
<context>
<entry key="format" class="org.acme.extra.Customizer"
method="getCustomFormat"/>
@@ -404,15 +296,17 @@
</types>
<dependencies>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
<include key="acme-simple-clock"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</test>
</dependencies>
</project>
+ -->

<!-- part customization demo -->

+ <!--
<project name="acme-clock-api" basedir="import/api">
<types>
<type id="jar"/>
@@ -427,21 +321,21 @@
<project name="acme-clock-impl" basedir="import/clock">
<types>
<type id="jar"/>
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ <component xmlns="dpml:metro"
type="org.acme.scheduler.SimpleClock" name="simple"/>
</types>
<dependencies>
<runtime>
<include key="acme-clock-api"/>
- <include ref="dpml/transit/dpml-transit-main"/>
- </runtime>
+ <include ref="dpml/lang/dpml-lang-part"/>
+ </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"
+ <component xmlns="dpml:metro"
type="org.acme.demo.Demo" name="demo">
<parts>
<component key="clock"
uri="resource:part:dpmlx/tutorials/components/acme-clock-impl">
@@ -459,10 +353,10 @@
<runtime>
<include key="acme-clock-api"/>
<include ref="dpml/util/dpml-logging-api"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</runtime>
<test>
- <include ref="ant/ant-junit"/>
+ <include ref="org/apache/ant/ant-junit"/>
</test>
</dependencies>
</project>
@@ -470,15 +364,17 @@
<project name="acme-clock-test" basedir="import/test">
<dependencies>
<test>
- <include ref="dpml/transit/dpml-transit-main"/>
- <include ref="ant/ant-junit"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
+ <include ref="org/apache/ant/ant-junit"/>
</test>
</dependencies>
<filters>
<feature ref="dpmlx/tutorials/components/acme-clock-demo" token="PART"
id="uri" type="part"/>
</filters>
</project>
+ -->

+ <!--
<project name="acme-unit" basedir="unit">
<properties>
<property name="java.util.logging.config.class" value="dpml"/>
@@ -486,7 +382,7 @@
</properties>
<types>
<type id="jar" />
- <component xmlns="link:xsd:dpml/lang/dpml-component#1.0"
+ <component xmlns="dpml:metro"
type="acme.ContainerImpl"
name="container" alias="true" collection="hard">
<context>
@@ -499,12 +395,13 @@
</types>
<dependencies>
<test>
- <include ref="ant/ant-junit" />
+ <include ref="org/apache/ant/ant-junit" />
<include ref="dpml/metro/dpml-metro-model" />
</test>
</dependencies>
</project>
-
+ -->
+
</module>

</module>
\ No newline at end of file

Modified: trunk/tutorials/tooling/alias/build.xml
===================================================================
--- trunk/tutorials/tooling/alias/build.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/tooling/alias/build.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:transit="antlib:dpml.tools.transit">

<transit:import uri="local:template:dpml/tools/standard"/>


Modified: trunk/tutorials/tooling/alias/index.xml
===================================================================
--- trunk/tutorials/tooling/alias/index.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/tooling/alias/index.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

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

Modified: trunk/tutorials/tooling/automation/build.xml
===================================================================
--- trunk/tutorials/tooling/automation/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/tooling/automation/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:transit="antlib:dpml.tools.transit">

<transit:import uri="local:template:dpml/tools/standard"/>


Modified: trunk/tutorials/tooling/automation/index.xml
===================================================================
--- trunk/tutorials/tooling/automation/index.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/tooling/automation/index.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

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

Modified: trunk/tutorials/tooling/build.xml
===================================================================
--- trunk/tutorials/tooling/build.xml 2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/build.xml 2007-02-08 23:30:11 UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="tooling" default="install" basedir="."
- xmlns:transit="antlib:net.dpml.transit"
+ xmlns:transit="antlib:dpml.tools.transit"
xmlns:x="dpml:depot">

<macrodef name="build">

Modified: trunk/tutorials/tooling/complex/build/api/build.xml
===================================================================
--- trunk/tutorials/tooling/complex/build/api/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/build/api/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:transit="antlib:dpml.tools.transit">

<transit:import uri="local:template:dpml/tools/standard"/>


Modified: trunk/tutorials/tooling/complex/build/impl/build.xml
===================================================================
--- trunk/tutorials/tooling/complex/build/impl/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/build/impl/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:transit="antlib:dpml.tools.transit">

<transit:import uri="local:template:dpml/tools/standard"/>


Modified: trunk/tutorials/tooling/complex/build/impl/test.properties
===================================================================
--- trunk/tutorials/tooling/complex/build/impl/test.properties 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/build/impl/test.properties 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1 +1 @@
-java.util.logging.config.class = net.dpml.util.ConfigurationHandler
\ No newline at end of file
+java.util.logging.config.class = dpml.util.ConfigurationHandler
\ No newline at end of file

Modified: trunk/tutorials/tooling/complex/build/index.xml
===================================================================
--- trunk/tutorials/tooling/complex/build/index.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/build/index.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

<imports>
- <import uri="link:module:ant"/>
+ <import uri="link:module:org/apache/ant"/>
<import uri="link:module:dpml"/>
</imports>

@@ -21,7 +21,7 @@
<include key="clock-api"/>
</runtime>
<test>
- <include ref="ant/ant-junit"/>
+ <include ref="org/apache/ant/ant-junit"/>
<include ref="dpml/transit/dpml-transit-main"/>
</test>
</dependencies>

Modified: trunk/tutorials/tooling/complex/export/api/build.xml
===================================================================
--- trunk/tutorials/tooling/complex/export/api/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/export/api/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:transit="antlib:dpml.tools.transit">

<transit:import uri="local:template:dpml/tools/standard"/>


Modified: trunk/tutorials/tooling/complex/export/impl/build.xml
===================================================================
--- trunk/tutorials/tooling/complex/export/impl/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/export/impl/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:transit="antlib:dpml.tools.transit">

<transit:import uri="local:template:dpml/tools/standard"/>


Modified: trunk/tutorials/tooling/complex/export/impl/test.properties
===================================================================
--- trunk/tutorials/tooling/complex/export/impl/test.properties 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/export/impl/test.properties 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1 +1 @@
-java.util.logging.config.class = net.dpml.util.ConfigurationHandler
\ No newline at end of file
+java.util.logging.config.class = dpml.util.ConfigurationHandler
\ No newline at end of file

Modified: trunk/tutorials/tooling/complex/export/index.xml
===================================================================
--- trunk/tutorials/tooling/complex/export/index.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/export/index.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

<imports>
- <import uri="link:module:ant"/>
+ <import uri="link:module:org/apache/ant"/>
<import uri="link:module:dpml"/>
</imports>

@@ -27,7 +27,7 @@
<include key="clock-api"/>
</runtime>
<test>
- <include ref="ant/ant-junit"/>
+ <include ref="org/apache/ant/ant-junit"/>
<include ref="dpml/transit/dpml-transit-main"/>
</test>
</dependencies>

Modified: trunk/tutorials/tooling/complex/modules/api/build.xml
===================================================================
--- trunk/tutorials/tooling/complex/modules/api/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/modules/api/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:transit="antlib:dpml.tools.transit">

<transit:import uri="local:template:dpml/tools/standard"/>


Modified: trunk/tutorials/tooling/complex/modules/impl/build.xml
===================================================================
--- trunk/tutorials/tooling/complex/modules/impl/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/modules/impl/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:transit="antlib:dpml.tools.transit">

<transit:import uri="local:template:dpml/tools/standard"/>


Modified: trunk/tutorials/tooling/complex/modules/impl/test.properties
===================================================================
--- trunk/tutorials/tooling/complex/modules/impl/test.properties
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/modules/impl/test.properties
2007-02-08 23:30:11 UTC (rev 1817)
@@ -1 +1 @@
-java.util.logging.config.class = net.dpml.util.ConfigurationHandler
\ No newline at end of file
+java.util.logging.config.class = dpml.util.ConfigurationHandler
\ No newline at end of file

Modified: trunk/tutorials/tooling/complex/modules/index.xml
===================================================================
--- trunk/tutorials/tooling/complex/modules/index.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/modules/index.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

<imports>
- <import uri="link:module:ant"/>
+ <import uri="link:module:org/apache/ant"/>
<import uri="link:module:dpml"/>
</imports>

@@ -23,7 +23,7 @@
<include key="clock-api"/>
</runtime>
<test>
- <include ref="ant/ant-junit"/>
+ <include ref="org/apache/ant/ant-junit"/>
<include ref="dpml/transit/dpml-transit-main"/>
</test>
</dependencies>

Modified: trunk/tutorials/tooling/complex/plugin/api/build.xml
===================================================================
--- trunk/tutorials/tooling/complex/plugin/api/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/plugin/api/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

</project>

Modified: trunk/tutorials/tooling/complex/plugin/build.xml
===================================================================
--- trunk/tutorials/tooling/complex/plugin/build.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/plugin/build.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>

-<project xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="dpml:depot">
+<project xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
<x:plugin uri="link:part:dpml/depot/dpml-depot-convert">

Modified: trunk/tutorials/tooling/complex/plugin/impl/build.xml
===================================================================
--- trunk/tutorials/tooling/complex/plugin/impl/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/plugin/impl/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

-<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+<project name="demo" default="install" xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

</project>

Added: trunk/tutorials/tooling/complex/plugin/impl/etc/plugin.xml
===================================================================
--- trunk/tutorials/tooling/complex/plugin/impl/etc/plugin.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/plugin/impl/etc/plugin.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+
+<component xmlns="dpml:metro" type="org.acme.impl.SimpleClock">
+ <context>
+ <entry key="format" value="h:mm"/>
+ <entry key="locale" class="java.util.Locale" method="getDefault"/>
+ </context>
+</component>

Modified:
trunk/tutorials/tooling/complex/plugin/impl/src/main/org/acme/impl/SimpleClock.java
===================================================================
---
trunk/tutorials/tooling/complex/plugin/impl/src/main/org/acme/impl/SimpleClock.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/tooling/complex/plugin/impl/src/main/org/acme/impl/SimpleClock.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -33,6 +33,12 @@
*/
public class SimpleClock implements Clock
{
+ public interface Context
+ {
+ public String getFormat();
+ public Locale getLocale();
+ }
+
//------------------------------------------------------------------
// state
//------------------------------------------------------------------
@@ -49,10 +55,10 @@
* @param format the format to use for timestamps
* @param locale the assigned locale
*/
- public SimpleClock( final String format, final Locale locale )
+ public SimpleClock( Context context )
{
- m_format = format;
- m_locale = locale;
+ m_format = context.getFormat();
+ m_locale = context.getLocale();
}

//------------------------------------------------------------------

Modified:
trunk/tutorials/tooling/complex/plugin/impl/src/test/org/acme/impl/test/DemoTestCase.java
===================================================================
---
trunk/tutorials/tooling/complex/plugin/impl/src/test/org/acme/impl/test/DemoTestCase.java
2007-02-08 23:29:49 UTC (rev 1816)
+++
trunk/tutorials/tooling/complex/plugin/impl/src/test/org/acme/impl/test/DemoTestCase.java
2007-02-08 23:30:11 UTC (rev 1817)
@@ -24,7 +24,7 @@

import junit.framework.TestCase;

-import net.dpml.lang.Part;
+import net.dpml.lang.Strategy;

import org.acme.Clock;

@@ -43,12 +43,8 @@
public void testComponent() throws Exception
{
URI uri = getPartURI();
- Part part = Part.load( uri );
- Clock clock = (Clock) part.getContent();
- String timestamp = clock.getTimestamp();
-
- Logger logger = Logger.getLogger( "test" );
- logger.info( clock.getTimestamp() );
+ Strategy strategy = Strategy.load( null, null, uri, "test" );
+ Clock clock = strategy.getInstance( Clock.class );
}

private URI getPartURI() throws Exception

Modified: trunk/tutorials/tooling/complex/plugin/impl/test.properties
===================================================================
--- trunk/tutorials/tooling/complex/plugin/impl/test.properties 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/plugin/impl/test.properties 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1 +1 @@
-java.util.logging.config.class = net.dpml.util.ConfigurationHandler
\ No newline at end of file
+java.util.logging.config.class = dpml.util.ConfigurationHandler
\ No newline at end of file

Modified: trunk/tutorials/tooling/complex/plugin/index.xml
===================================================================
--- trunk/tutorials/tooling/complex/plugin/index.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/tooling/complex/plugin/index.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0"
- xmlns:part="link:xsd:dpml/lang/dpml-part#1.0">
+<index xmlns="dpml:library">

<imports>
- <import uri="link:module:ant"/>
+ <import uri="link:module:org/apache/ant"/>
<import uri="link:module:dpml"/>
</imports>

@@ -18,18 +17,15 @@
<project name="clock-impl" basedir="impl">
<types>
<type id="jar"/>
- <part:plugin class="org.acme.impl.SimpleClock">
- <part:param value="h:mm"/>
- <part:param class="java.util.Locale" method="getDefault"/>
- </part:plugin>
+ <type id="part" source="target/plugin.xml"/>
</types>
<dependencies>
<runtime>
<include key="clock-api"/>
+ <include ref="dpml/lang/dpml-lang-part"/>
</runtime>
<test>
- <include ref="ant/ant-junit"/>
- <include ref="dpml/transit/dpml-transit-main"/>
+ <include ref="org/apache/ant/ant-junit"/>
</test>
</dependencies>
</project>

Modified: trunk/tutorials/tooling/filters/index.xml
===================================================================
--- trunk/tutorials/tooling/filters/index.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/tooling/filters/index.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

<project name="demo" basedir=".">
<properties>
<property name="location" value="New York"/>
- <property name="message" value="Hello for ${user.name} in
${location}"/>
+ <property name="message" value="Hello from ${user.name} in
${location}"/>
</properties>
<filters>
<filter token="MESSAGE" value="${message}"/>

Modified: trunk/tutorials/tooling/imports/build.xml
===================================================================
--- trunk/tutorials/tooling/imports/build.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/tooling/imports/build.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

</project>

Modified: trunk/tutorials/tooling/imports/index.xml
===================================================================
--- trunk/tutorials/tooling/imports/index.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/tooling/imports/index.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

<imports>
- <import uri="link:module:ant"/>
+ <import uri="link:module:org/apache/ant"/>
<import uri="link:module:dpml"/>
</imports>

@@ -16,7 +16,7 @@
</types>
<dependencies>
<test>
- <include ref="ant/ant-junit"/>
+ <include ref="org/apache/ant/ant-junit"/>
<include ref="dpml/transit/dpml-transit-main"/>
</test>
</dependencies>

Modified: trunk/tutorials/tooling/imports/test.properties
===================================================================
--- trunk/tutorials/tooling/imports/test.properties 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/tooling/imports/test.properties 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1 +1 @@
-java.util.logging.config.class = net.dpml.util.ConfigurationHandler
\ No newline at end of file
+java.util.logging.config.class = dpml.util.ConfigurationHandler
\ No newline at end of file

Modified: trunk/tutorials/tooling/properties/index.xml
===================================================================
--- trunk/tutorials/tooling/properties/index.xml 2007-02-08 23:29:49
UTC (rev 1816)
+++ trunk/tutorials/tooling/properties/index.xml 2007-02-08 23:30:11
UTC (rev 1817)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

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

Modified: trunk/tutorials/tooling/simple/index.xml
===================================================================
--- trunk/tutorials/tooling/simple/index.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/tooling/simple/index.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

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


Modified: trunk/tutorials/tooling/symbolic/index.xml
===================================================================
--- trunk/tutorials/tooling/symbolic/index.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/tooling/symbolic/index.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

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

Modified: trunk/tutorials/tooling/types/index.xml
===================================================================
--- trunk/tutorials/tooling/types/index.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/tooling/types/index.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

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

Modified: trunk/tutorials/tooling/unit/build.xml
===================================================================
--- trunk/tutorials/tooling/unit/build.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/tooling/unit/build.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:x="antlib:dpml.tools">

- <transit:import uri="local:template:dpml/tools/standard"/>
+ <x:import uri="local:template:dpml/tools/standard"/>

</project>

Modified: trunk/tutorials/tooling/unit/index.xml
===================================================================
--- trunk/tutorials/tooling/unit/index.xml 2007-02-08 23:29:49 UTC (rev
1816)
+++ trunk/tutorials/tooling/unit/index.xml 2007-02-08 23:30:11 UTC (rev
1817)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0">
+<index xmlns="dpml:library">

<project name="demo" basedir=".">
<properties>
@@ -11,9 +11,9 @@
</types>
<dependencies>
<test>
- <include uri="artifact:jar:ant/ant-junit#1.6.5"/>
- <include uri="artifact:jar:ant/ant#1.6.5"/>
- <include uri="artifact:jar:junit/junit#3.8.1"/>
+ <include uri="artifact:jar:org/apache/ant/ant#1.7.0"/>
+ <include uri="artifact:jar:org/apache/ant/ant-junit#1.7.0"/>
+ <include uri="artifact:jar:junit/junit#4.2"/>
</test>
</dependencies>
<filters>

Modified: trunk/tutorials/tooling/versioning/decimal/api/build.xml
===================================================================
--- trunk/tutorials/tooling/versioning/decimal/api/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/versioning/decimal/api/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:transit="antlib:dpml.tools.transit">

<transit:import uri="local:template:dpml/tools/standard"/>


Modified: trunk/tutorials/tooling/versioning/decimal/build.xml
===================================================================
--- trunk/tutorials/tooling/versioning/decimal/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/versioning/decimal/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>

-<project xmlns:transit="antlib:net.dpml.transit"
+<project xmlns:transit="antlib:dpml.tools.transit"
xmlns:x="dpml:depot">

<transit:import uri="local:template:dpml/tools/standard"/>

Modified: trunk/tutorials/tooling/versioning/decimal/impl/build.xml
===================================================================
--- trunk/tutorials/tooling/versioning/decimal/impl/build.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/versioning/decimal/impl/build.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>

<project name="demo" default="install"
- xmlns:transit="antlib:net.dpml.transit">
+ xmlns:transit="antlib:dpml.tools.transit">

<transit:import uri="local:template:dpml/tools/standard"/>


Modified: trunk/tutorials/tooling/versioning/decimal/impl/test.properties
===================================================================
--- trunk/tutorials/tooling/versioning/decimal/impl/test.properties
2007-02-08 23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/versioning/decimal/impl/test.properties
2007-02-08 23:30:11 UTC (rev 1817)
@@ -1 +1 @@
-java.util.logging.config.class = net.dpml.util.ConfigurationHandler
\ No newline at end of file
+java.util.logging.config.class = dpml.util.ConfigurationHandler
\ No newline at end of file

Modified: trunk/tutorials/tooling/versioning/decimal/index.xml
===================================================================
--- trunk/tutorials/tooling/versioning/decimal/index.xml 2007-02-08
23:29:49 UTC (rev 1816)
+++ trunk/tutorials/tooling/versioning/decimal/index.xml 2007-02-08
23:30:11 UTC (rev 1817)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<index xmlns="link:xsd:dpml/lang/dpml-module#1.0"
- xmlns:part="link:xsd:dpml/lang/dpml-part#1.0">
+<index xmlns="dpml:library"
+ xmlns:part="dpml:part">

<imports>
<import uri="link:module:ant"/>




  • r1817 - in trunk/tutorials: . components/context components/context/etc components/context/src/test/org/acme/test components/customize/clock components/customize/clock/etc components/customize/custom components/customize/extension components/examples components/examples/etc components/examples/src/test/org/acme/test components/hello components/hello/etc components/hello/src/test/org/acme/test components/import/api components/import/clock components/import/demo components/import/demo/src/main/org/acme/demo components/lifestyle components/lifestyle/etc components/lifestyle/src/main/org/acme components/lifestyle/src/test/org/acme/test components/logging components/logging/etc components/logging/src/test/org/acme/test components/lookup components/lookup/etc components/lookup/src/test/org/acme/test components/parts components/parts/etc components/parts/src/test/org/acme/test components/singleton components/singleton/etc components/singleton/etc/data components/singleton/! src/main/org/acme components/singleton/src/test/org/acme/test components/state components/state/etc components/state/src/main/org/acme components/state/src/test/org/acme/test components/thread components/thread/etc components/thread/src/main/org/acme components/thread/src/test/org/acme/test components/transient components/transient/etc components/transient/src/main/org/acme components/transient/src/test/org/acme/test components/type components/unit tooling tooling/alias tooling/automation tooling/complex/build tooling/complex/build/api tooling/complex/build/impl tooling/complex/export tooling/complex/export/api tooling/complex/export/impl tooling/complex/modules tooling/complex/modules/api tooling/complex/modules/impl tooling/complex/plugin tooling/complex/plugin/api tooling/complex/plugin/impl tooling/complex/plugin/impl/etc tooling/complex/plugin/impl/src/main/org/acme/impl tooling/complex/plugin/impl/src/test/org/acme/impl/test tooling/filters tooling/imports tooling/pro! perties tooling/simple tooling/symbolic tooling/types tooling/! unit too, mcconnell at BerliOS, 02/08/2007

Archive powered by MHonArc 2.6.24.

Top of Page