manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1036345 - /incubator/lcf/trunk/build.xml
Date Thu, 18 Nov 2010 08:33:26 GMT
Author: kwright
Date: Thu Nov 18 08:33:26 2010
New Revision: 1036345

URL: http://svn.apache.org/viewvc?rev=1036345&view=rev
Log:
Remove modules level, part 3

Modified:
    incubator/lcf/trunk/build.xml

Modified: incubator/lcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/build.xml?rev=1036345&r1=1036344&r2=1036345&view=diff
==============================================================================
--- incubator/lcf/trunk/build.xml (original)
+++ incubator/lcf/trunk/build.xml Thu Nov 18 08:33:26 2010
@@ -1,9 +1,12 @@
 <project default="all">
 
     <target name="clean">
+        <delete file="manifoldcf-*.zip"/>
+        <delete file="manifoldcf-*.tar.gz"/>
         <delete dir="build"/>
         <delete dir="dist"/>
         <delete dir="test-output"/>
+        <ant dir="site" target="clean"/>
         <ant dir="framework" target="clean"/>
         <delete dir="framework/lib"/>
         <ant dir="connectors/activedirectory" target="clean"/>
@@ -40,6 +43,10 @@
         <delete dir="connectors/webcrawler/lib"/>
     </target>
     
+    <target name="build-site">
+      <ant dir="site" target="all"/>
+    </target>
+    
     <target name="build-json">
         <mkdir dir="build/json/classes"/>
         <javac srcdir="json" destdir="build/json/classes" target="1.5" source="1.4" debug="true"
debuglevel="lines,vars,source">
@@ -287,6 +294,13 @@
         <ant dir="connectors/webcrawler"/>
     </target>
 
+    <target name="deliver-site" depends="build-site">
+          <mkdir dir="dist/doc"/>
+          <copy todir="dist/doc">
+              <fileset dir="site/build/site"/>
+          </copy>
+    </target>
+
     <target name="deliver-framework" depends="build-framework">
         <mkdir dir="dist/processes"/>
         <copy todir="dist/processes">
@@ -901,8 +915,18 @@
     
     <target name="deliver-proprietary-connectors" depends="deliver-documentum-connector,deliver-filenet-connector,deliver-livelink-connector,deliver-memex-connector,deliver-meridio-connector,deliver-sharepoint-connector"/>
     
-    <target name="deliver" depends="deliver-framework,deliver-open-connectors,deliver-output-connectors,deliver-lgpl-connectors,deliver-proprietary-connectors,deliver-example"/>
+    <target name="deliver-code" depends="deliver-framework,deliver-open-connectors,deliver-output-connectors,deliver-lgpl-connectors,deliver-proprietary-connectors,deliver-example"/>
 
-    <target name="all" depends="deliver,run-tests"/>
+    <target name="create-zip" depends="deliver-code,deliver-site">
+	<zip destfile="manifoldcf-SNAPSHOT-0.1.zip" basedir="." update="false"/>
+    </target>
+    
+    <target name="create-tar" depends="deliver-code,deliver-site">
+	<tar destfile="manifoldcf-SNAPSHOT-0.1.tar.gz" basedir="." compression="gzip" longfile="gnu"/>
+    </target>
+
+    <target name="create-archive" depends="create-zip,create-tar"/>
+    
+    <target name="all" depends="deliver-code,run-tests"/>
     
 </project>



Mime
View raw message