Skip to Content.
Sympa Menu

notify-dpml - r1368 - in trunk/main: central/src/docs/about depot/tools/builder/etc/prefs/xmls

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: r1368 - in trunk/main: central/src/docs/about depot/tools/builder/etc/prefs/xmls
  • Date: Wed, 12 Apr 2006 06:11:14 +0200

Author: mcconnell
Date: 2006-04-12 06:11:01 +0200 (Wed, 12 Apr 2006)
New Revision: 1368

Added:
trunk/main/depot/tools/builder/etc/prefs/xmls/configuration.xml
Modified:
trunk/main/central/src/docs/about/index.xml
trunk/main/depot/tools/builder/etc/prefs/xmls/processors.xml
Log:


Modified: trunk/main/central/src/docs/about/index.xml
===================================================================
--- trunk/main/central/src/docs/about/index.xml 2006-04-11 23:41:42 UTC (rev
1367)
+++ trunk/main/central/src/docs/about/index.xml 2006-04-12 04:11:01 UTC (rev
1368)
@@ -16,20 +16,20 @@

<ul>
<li>
- <a href="/transit/index.html">Transit</a> resource management
framework.
+ <a href="../transit/index.html">Transit</a> resource management
framework.
</li>
<li>
- <a href="/depot/index.html">Depot</a> tools
+ <a href="../depot/index.html">Depot</a> tools
for build automation in complex multi-project environments.
</li>
<li>
- <a href="/metro/index.html">Metro</a> context-driven IOC runtime
container.
+ <a href="../metro/index.html">Metro</a> context-driven IOC
runtime container.
</li>
<li>
- <a href="/station/index.html">Station</a> multi-appplication
management system.
+ <a href="../station/index.html">Station</a> multi-appplication
management system.
</li>
<li>
- <a href="/util/index.html">Util</a> supporting utilities.
+ <a href="../util/index.html">Util</a> supporting utilities.
</li>
</ul>


Added: trunk/main/depot/tools/builder/etc/prefs/xmls/configuration.xml
===================================================================
--- trunk/main/depot/tools/builder/etc/prefs/xmls/configuration.xml
2006-04-11 23:41:42 UTC (rev 1367)
+++ trunk/main/depot/tools/builder/etc/prefs/xmls/configuration.xml
2006-04-12 04:11:01 UTC (rev 1368)
@@ -0,0 +1,214 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+Default configuration for Depot-on-Ant.
+Status: work-in-progress
+-->
+
+<configuration>
+
+ <phases>
+
+ <phase name="preparation">
+ <!--
+ Convert the client's codebase into a normalized form
+ suitable for automated construction.
+ -->
+
+ <invoke id="prepare-etc"/>
+ <invoke id="prepare-main"/>
+ <invoke id="prepare-test"/>
+ <invoke id="prepare-docs"/>
+
+ </phase>
+
+ <phase name="construction" depends="preparation">
+ <!--
+ For all published types - construct the data suitable for
+ subsequent packaging.
+ -->
+
+ <select>
+ <invoke key="build"/> <!-- aka build-jar, build-part, etc -->
+ </select>
+
+ </phase>
+
+ <phase name="packaging" depends="construction">
+ <!--
+ For all published types - package the constructed data
+ into a single deliverable file.
+ -->
+ </phase>
+
+ <phase name="validation" depends="packaging">
+ <!--
+ For all published types - validate the packaged deliverable
+ if the deliverable exists and a validation procedure is know.
+ -->
+ </phase>
+
+ <phase name="installation" depends="validation">
+ <!--
+ For all published types - generate a validated deliverable.
+ -->
+ </phase>
+
+ </phases>
+
+
+
+ <processes>
+
+ <process name="setup">
+ <produces>
+ <dir path="etc" name="etc"/>
+ <dir path="${etc}/main" name="etc.main"/>
+ <dir path="${etc}/test" name="etc.test"/>
+ <dir path="${etc}/prefs" name="etc.prefs"/>
+ <dir path="${etc}/bin" name="etc.bin"/>
+ <dir path="${etc}/deliverables" name="etc.deliverables"/>
+ <dir path="src" name="src"/>
+ <dir path="${etc}/docs" name="etc.docs"/>
+ <dir path="${src}/main" name="src.main"/>
+ <dir path="${src}/docs" name="src.docs"/>
+ <dir path="${src}/test" name="src.test"/>
+ <dir path="target" name="target"/>
+ </produces>
+ </process>
+
+ <process name="prepare-prefs">
+ <consumes>
+ <ref id="etc.prefs"/>
+ </consumes>
+ <produces>
+ <dir path="${target}/prefs" name="target.prefs"/>
+ </produces>
+ </process>
+
+ <process name="prepare-deliverables">
+ <consumes>
+ <ref id="etc.deliverables"/>
+ </consumes>
+ <produces>
+ <dir path="${target}/deliverables" name="target.deliverables"/>
+ </produces>
+ </process>
+
+ <process name="prepare-main">
+ <consumes>
+ <ref id="target"/>
+ <ref id="etc.main" optional="true"/>
+ <ref id="src.main" optional="true"/>
+ </consumes>
+ <produces>
+ <dir path="${target}/build/main" name="target.build.main"/>
+ </produces>
+ </process>
+
+ <process name="prepare-test">
+ <consumes>
+ <ref id="etc.test" optional="true"/>
+ <ref id="src.test" optional="true"/>
+ </consumes>
+ <produces>
+ <dir path="${target}/build/test" name="target.build.test"/>
+ </produces>
+ </process>
+
+ <process name="prepare-docs">
+ <consumes>
+ <ref id="etc.docs" optional="true"/>
+ <ref id="src.docs" optional="true"/>
+ </consumes>
+ <produces>
+ <dir path="${target}/build/docs" name="target.build.docs"/>
+ </produces>
+ </process>
+
+ <process name="build-main">
+ <consumes>
+ <ref id="target.build.main" optional="true"/>
+ </consumes>
+ <produces>
+ <dir path="${target}/classes/main" name="target.classes.main"/>
+ </produces>
+ </process>
+
+ <process name="build-test">
+ <consumes>
+ <ref id="target.build.test" optional="true"/>
+ </consumes>
+ <produces>
+ <dir path="${target}/classes/test" name="target.classes.test"/>
+ </produces>
+ </process>
+
+ <process name="jar">
+ <consumes>
+ <ref id="target.deliverables"/>
+ <ref id="target.classes.main" optional="true"/>
+ </consumes>
+ <produces>
+ <resource base="{target.deliverables}"
name="target.deliverables.jar"/>
+ </produces>
+ </process>
+
+ <process name="part" id="part">
+ <consumes>
+ <ref id="target.deliverables.jar" optional="true"/>
+ </consumes>
+ <produces>
+ <resource base="{target.deliverables}"
name="target.deliverables.part"/>
+ </produces>
+ </process>
+
+ <process name="unit-test">
+ <consumes>
+ <ref id="target.classes.test" optional="true"/>
+ <ref id="target.deliverables.jar" optional="true"/>
+ </consumes>
+ <produces>
+ <dir path="${target}/reports/test" name="target.reports.test"/>
+ </produces>
+ </process>
+
+ <process name="prefs">
+ <consumes>
+ <ref id="target.prefs"/>
+ </consumes>
+ <produces>
+ <collection layout="classic" base="${dpml.prefs}" name="prefs"/>
+ </produces>
+ </process>
+
+ <process name="install">
+
+ <description>
+
+ For all of the resources declared by the project defintion - copy
+ the resource under the target deliverables directory to the working
+ cache. The process validates that all resource declared as produced
by
+ the project are present within the deliverables directory prior to
+ initating a cache update.
+ </description>
+
+ <consumes>
+ <ref id="target.deliverables"/>
+ <select type="*"/>
+ </consumes>
+ <produces>
+ <collection layout="classic" base="${dpml.cache}" name="cache"/>
+ </produces>
+ </process>
+
+ <process name="purge">
+ <consumes>
+ <ref id="target"/>
+ </consumes>
+ </process>
+
+ </processes>
+
+</configuration>
+

Modified: trunk/main/depot/tools/builder/etc/prefs/xmls/processors.xml
===================================================================
--- trunk/main/depot/tools/builder/etc/prefs/xmls/processors.xml
2006-04-11 23:41:42 UTC (rev 1367)
+++ trunk/main/depot/tools/builder/etc/prefs/xmls/processors.xml
2006-04-12 04:11:01 UTC (rev 1368)
@@ -143,6 +143,10 @@
</phase>

<phase name="install" depends="test">
+
+ <select>
+ <all/>
+ </select>

<process name="prefs">
<consumes>
@@ -154,7 +158,17 @@
</process>

<process name="deliverables">
+
+ <description>
+ For all of the resources declared by the project defintion - copy
+ the resource under the target deliverables directory to the working
+ cache. The process validates that all resource declared as produced
by
+ the project are present within the deliverables directory prior to
+ initating a cache update.
+ </description>
+
<consumes>
+ <select type="*"/>
<ref id="target.deliverables"/>
</consumes>
<produces>
@@ -175,6 +189,6 @@
</phase>

</phases>
-
+
</configuration>





  • r1368 - in trunk/main: central/src/docs/about depot/tools/builder/etc/prefs/xmls, mcconnell at BerliOS, 04/12/2006

Archive powered by MHonArc 2.6.24.

Top of Page