notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1411 - trunk/main/depot/tools/builder/etc/prefs/xmls
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1411 - trunk/main/depot/tools/builder/etc/prefs/xmls
- Date: Wed, 26 Apr 2006 20:03:24 +0200
Author: mcconnell
Date: 2006-04-26 20:02:46 +0200 (Wed, 26 Apr 2006)
New Revision: 1411
Modified:
trunk/main/depot/tools/builder/etc/prefs/xmls/configuration.xml
Log:
working up the conceptual XML for product to process mapping
Modified: trunk/main/depot/tools/builder/etc/prefs/xmls/configuration.xml
===================================================================
--- trunk/main/depot/tools/builder/etc/prefs/xmls/configuration.xml
2006-04-26 06:38:09 UTC (rev 1410)
+++ trunk/main/depot/tools/builder/etc/prefs/xmls/configuration.xml
2006-04-26 18:02:46 UTC (rev 1411)
@@ -7,154 +7,102 @@
<configuration>
- <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>
+ <!-- products -->
+ <dir id="etc.main" path="${project.etc.main.dir}"/>
+ <dir id="src.main" path="${project.src.main.dir}"/>
+
+ <dir id="target.dir" path="${project.basedir}/target"/>
+ <dir id="target.test.dir" path="${target.dir}/test"/>
+ <dir id="target.reports.dir" path="${target.dir}/reports"/>
+ <dir id="target.reports.test.dir" path="${target.reports.dir}/test"/>
+
+ <dir id="target.build.dir" path="${target.dir}/build"/>
+ <dir id="target.build.main.dir" path="${target.build.dir}/main"/>
+ <dir id="target.build.test.dir" path="${target.build.dir}/test"/>
+
+ <dir id="target.classes.dir" path="${target.dir}/classes"/>
+ <dir id="target.classes.main.dir" path="${target.classes.dir}/main"/>
+ <dir id="target.classes.test.dir" path="${target.classes.dir}/test"/>
+
+ <file id="target.deliverables.jar" type="jar"/>
+ <file id="target.deliverables.part" type="part"/>
+
+ <!-- processes -->
+
+ <process id="prepare-main" class="net.dpml.tools.process.PrepareMain">
+ <consumes>
+ <input id="etc.main" policy="optional"/>
+ <input id="src.main" policy="optional"/>
+ </consumes>
+ <produces>
+ <output id="target.build.main.dir"/>
+ </produces>
+ </process>
+
+ <process id="prepare-test" class="net.dpml.tools.process.PrepareTest">
+ <consumes policy="conditional">
+ <input id="etc.test" policy="optional"/>
+ <input id="src.test" policy="optional"/>
+ </consumes>
+ <produces>
+ <output id="target.build.test.dir"/>
+ <output id="target.test.dir"/>
+ </produces>
+ </process>
+
+ <process id="compile-main" class="net.dpml.tools.process.CompileMain">
+ <consumes>
+ <input id="target.build.main.dir" policy="conditional"/>
+ </consumes>
+ <produces>
+ <output id="target.classes.main.dir"/>
+ </produces>
+ </process>
+
+ <process id="compile-test" class="net.dpml.tools.process.CompileTest">
+ <consumes>
+ <input id="target.build.test.dir" policy="conditional"/>
+ </consumes>
+ <produces>
+ <output id="target.classes.test.dir"/>
+ </produces>
+ </process>
+
+ <process id="junit" class="net.dpml.tools.process.ProcessJunit">
+ <consumes>
+ <input id="target.test.dir" policy="optional"/>
+ <input id="target.classes.test.dir" policy="conditional"/>
+ </consumes>
+ <produces>
+ <output id="target.reports.test.dir"/>
+ </produces>
+ </process>
+
+ <process id="jar" class="net.dpml.tools.process.ProcessJar">
+ <consumes>
+ <input id="target.reports.test.dir"/>
+ <input id="target.build.main.dir" policy="conditional"/>
+ </consumes>
+ <produces>
+ <output id="target.deliverables.jar">
+ </produces>
+ </process>
+
+ <process id="rmic" class="net.dpml.tools.process.ProcessRMIC">
+ <consumes>
+ <input id="target.classes.main.dir" policy="conditional"/>
+ </consumes>
+ </process>
+
+ <process id="part" class="net.dpml.tools.process.ProcessPart">
+ <consumes>
+ <input id="target.classes.main.dir" policy="optional"/>
+ </consumes>
+ <produces>
+ <output id="target.deliverables.part">
+ </produces>
+ </process>
+
</configuration>
- r1411 - trunk/main/depot/tools/builder/etc/prefs/xmls, mcconnell at BerliOS, 04/26/2006
Archive powered by MHonArc 2.6.24.