notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2609 - in development/main/test/unit/simple: . src/main src/test
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2609 - in development/main/test/unit/simple: . src/main src/test
- Date: Thu, 19 May 2005 01:11:37 +0000
Author: mcconnell AT dpml.net
Date: Thu May 19 01:11:00 2005
New Revision: 2609
Added:
development/main/test/unit/simple/build.properties
development/main/test/unit/simple/src/test/
- copied from r2606, development/main/test/unit/simple/src/main/
Removed:
development/main/test/unit/simple/src/main/
Modified:
development/main/test/unit/simple/build.xml
Log:
housekeeping
Added: development/main/test/unit/simple/build.properties
==============================================================================
--- (empty file)
+++ development/main/test/unit/simple/build.properties Thu May 19 01:11:00
2005
@@ -0,0 +1,2 @@
+
+project.test.fork = true
Modified: development/main/test/unit/simple/build.xml
==============================================================================
--- development/main/test/unit/simple/build.xml (original)
+++ development/main/test/unit/simple/build.xml Thu May 19 01:11:00 2005
@@ -35,10 +35,39 @@
</value>
</context>
</component>
- </target>
- <target name="install" depends="test">
- <!-- disable artifact publicaton -->
+ <!--
+ Simple component example.
+ In this example we substitute the creation of a simple value type
+ with a component as a declaration directly inside the context
+ element. This example demonstrates the mixing of different component
+ strategies and the ability of a component to be handled without
+ explicit management.
+ -->
+ <component dest="target/test/acme-widget.part"
+ xmlns="plugin:dpml/composition/dpml-composition-builder"
+ type="net.dpml.test.acme.WidgetComponent"
+ name="widget">
+ <context>
+ <value key="name" value="urn:model:name"/>
+ <value key="partition" value="urn:model:partition"/>
+ <value key="uri" value="urn:model:uri"/>
+ <value key="workingDirectory">
+ <param class="java.io.File" value="urn:system:work.dir"/>
+ <param value="acme/workspace"/>
+ </value>
+ <component key="dimension"
type="net.dpml.test.acme.DimensionComponent">
+ <context>
+ <value key="width" value="12"/>
+ <value key="height" value="100"/>
+ </context>
+ </component>
+ </context>
+ </component>
+
</target>
+ <target name="package" depends="build"/>
+ <target name="install" depends="test"/>
+
</project>
- svn commit: r2609 - in development/main/test/unit/simple: . src/main src/test, mcconnell, 05/18/2005
Archive powered by MHonArc 2.6.24.