svn commit: rev 21379 - avalon/trunk

[email protected]
Newsgroups gmane.comp.jakarta.avalon.cvs
Message-ID <[email protected]>
Author: mcconnell
Date: Wed Jun 16 23:58:33 2004
New Revision: 21379

Modified:
   avalon/trunk/build.xml
Log:
update the root build.xml to mirror the same targets as everywhere else and set it up so that the root is a totally dynamic reactor build of the entire avalon trunk

Modified: avalon/trunk/build.xml
==============================================================================
--- avalon/trunk/build.xml	(original)
+++ avalon/trunk/build.xml	Wed Jun 16 23:58:33 2004
@@ -3,28 +3,51 @@
 <project name="runtime" default="dist" basedir="." xmlns:x="antlib:org.apache.avalon.tools">
 
   <property file="build.properties"/>
+  <property name="system.dir" value="${basedir}/central/system"/>
+  <property name="reactor.path" value="${system.dir}/build/reactor.xml"/>
 
   <target name="setup">
-    <ant dir="${basedir}/central/system" antfile="setup/setup.xml"/>
+    <ant dir="${system.dir}" antfile="setup/setup.xml"/>
   </target>
 
-  <target name="integrity-check">
-    <ant inheritall="false" dir="central/system/setup" antfile="integrity.xml"/>
+  <target name="init">
+    <ant inheritall="false" dir="${system.dir}/setup" antfile="integrity.xml"/>
   </target>
 
-  <target name="clean" depends="integrity-check">
-    <ant inheritall="false" dir="runtime" target="clean"/>
-    <ant inheritall="false" dir="central" target="clean"/>
+  <target name="clean" depends="init">
+    <ant dir="." antfile="${reactor.path}" target="clean"/>
   </target>
 
-  <target name="dist" depends="integrity-check,runtime,central"/>
+  <target name="clean" depends="init">
+    <ant dir="." antfile="${reactor.path}" target="clean"/>
+  </target>
+
+  <target name="prepare" depends="init">
+    <ant dir="." antfile="${reactor.path}" target="prepare"/>
+  </target>
+
+  <target name="build" depends="init">
+    <ant dir="." antfile="${reactor.path}" target="build"/>
+  </target>
+
+  <target name="package" depends="init">
+    <ant dir="." antfile="${reactor.path}" target="package"/>
+  </target>
+
+  <target name="test" depends="init">
+    <ant dir="." antfile="${reactor.path}" target="test"/>
+  </target>
+
+  <target name="site" depends="init">
+    <ant dir="." antfile="${reactor.path}" target="site"/>
+  </target>
 
-  <target name="runtime" depends="integrity-check">
-    <ant inheritall="false" dir="runtime" target="dist"/>
+  <target name="install" depends="init">
+    <ant dir="." antfile="${reactor.path}" target="install"/>
   </target>
 
-  <target name="central" depends="integrity-check">
-    <ant inheritall="false" dir="central" target="dist"/>
+  <target name="dist" depends="init">
+    <ant dir="." antfile="${reactor.path}" target="dist"/>
   </target>
 
 </project>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.