avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject svn commit: rev 20813 - in avalon/trunk/central: site system/build
Date Fri, 04 Jun 2004 05:58:15 GMT
Author: mcconnell
Date: Thu Jun  3 22:58:14 2004
New Revision: 20813

Added:
   avalon/trunk/central/system/build/
   avalon/trunk/central/system/build/standard.xml
Modified:
   avalon/trunk/central/site/build.properties
   avalon/trunk/central/site/build.xml
Log:
Include a standard build template for importing and update the site build to use the template.

Modified: avalon/trunk/central/site/build.properties
==============================================================================
--- avalon/trunk/central/site/build.properties	(original)
+++ avalon/trunk/central/site/build.properties	Thu Jun  3 22:58:14 2004
@@ -1,3 +1,3 @@
- 
+project.home = ../system
 project.xdoc.anchor.url = https://svn.apache.org/repos/asf/avalon/trunk/central/site/src/xdocs
 project.xdoc.logo.left.file = images/feather.jpg

Modified: avalon/trunk/central/site/build.xml
==============================================================================
--- avalon/trunk/central/site/build.xml	(original)
+++ avalon/trunk/central/site/build.xml	Thu Jun  3 22:58:14 2004
@@ -1,16 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" ?>
 
-<project name="site" default="site" basedir="." 
-    xmlns:x="antlib:org.apache.avalon.tools"> 
+<project name="site" default="site" basedir=".">
 
-  <x:home index="../system/index.xml"/>
-
-  <target name="site">
-    <x:prepare/>
-    <x:xdoc theme="avalon2"/>
-  </target>
-
-  <target name="clean">
-    <x:clean/>
-  </target>
+  <property file="build.properties"/>
+  <import file="${project.home}/build/standard.xml"/>
 
 </project>
+

Added: avalon/trunk/central/system/build/standard.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/central/system/build/standard.xml	Thu Jun  3 22:58:14 2004
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<project name="standard" xmlns:x="antlib:org.apache.avalon.tools">
+
+  <x:home/>
+
+  <target name="clean">
+    <x:clean/>
+  </target>
+
+  <target name="prepare" depends="">
+    <x:prepare/>
+  </target>
+
+  <target name="build" depends="prepare">
+    <x:javac/>
+  </target>
+
+  <target name="package" depends="build">
+    <x:jar/>
+  </target>
+
+  <target name="test" depends="package">
+    <x:junit/>
+  </target>
+
+  <target name="site" depends="prepare">
+    <x:xdoc theme="modern"/>
+  </target>
+
+  <target name="install" depends="test">
+    <x:install/>
+  </target>
+
+  <target name="dist" depends="install,site"/>
+
+</project>
+

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message