roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r543138 - /roller/trunk/build.xml
Date Thu, 31 May 2007 14:01:00 GMT
Author: snoopdave
Date: Thu May 31 07:00:59 2007
New Revision: 543138

URL: http://svn.apache.org/viewvc?view=rev&rev=543138
Log:
Adding top-level build script to be used by build/test servers that wish to do project-wide
rebuild and test.

Added:
    roller/trunk/build.xml

Added: roller/trunk/build.xml
URL: http://svn.apache.org/viewvc/roller/trunk/build.xml?view=auto&rev=543138
==============================================================================
--- roller/trunk/build.xml (added)
+++ roller/trunk/build.xml Thu May 31 07:00:59 2007
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="toplevel" default="build" basedir=".">
+    
+    <!-- 
+    Build/test script intended to be run by build/test server.
+    For ordinary development use the separate build scripts.
+    -->    
+    
+    <target name="clean">
+        <ant dir="components/core" target="clean" />
+        <ant dir="apps/planet"     target="clean" />
+        <ant dir="apps/weblogger"  target="clean" />
+    </target>
+    
+    <target name="build-integrated" 
+        description="Build Core, Planet and Roller together (i.e. Rebuilds Core and Planet
jars, uses them to build Roller)">        
+        <ant  dir="components/core" target="dist" />        
+        <copy file="components/core/dist/lib/roller-core.jar" todir="tools/roller-core"
/>        
+        <ant  dir="apps/planet" target="dist" />
+        <copy file="apps/planet/dist/lib/roller-planet-business.jar" todir="tools/roller-planet"
/>        
+        <ant  dir="apps/weblogger" target="apache-release" />        
+    </target>
+
+    <target name="build" 
+        description="Build Core, Planet and Roller separately (i.e. uses Core and Planet
jars from Subversion)" >
+        <ant dir="components/core" target="dist" />
+        <ant dir="apps/planet"     target="dist" />
+        <ant dir="apps/weblogger"  target="apache-release" />
+    </target>
+
+    <target name="test">
+        <ant dir="apps/planet" target="test" />
+        <ant dir="apps/weblogger" target="tests" />
+    </target>
+
+</project>



Mime
View raw message