incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1034881 - in /incubator/lcf/trunk: build.xml site/build.xml
Date Sat, 13 Nov 2010 21:18:56 GMT
Author: kwright
Date: Sat Nov 13 21:18:54 2010
New Revision: 1034881

URL: http://svn.apache.org/viewvc?rev=1034881&view=rev
Log:
Hook up site building into deliverable construction.

Added:
    incubator/lcf/trunk/site/build.xml   (with props)
Modified:
    incubator/lcf/trunk/build.xml

Modified: incubator/lcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/build.xml?rev=1034881&r1=1034880&r2=1034881&view=diff
==============================================================================
--- incubator/lcf/trunk/build.xml (original)
+++ incubator/lcf/trunk/build.xml Sat Nov 13 21:18:54 2010
@@ -5,15 +5,21 @@
         <delete file="manifoldcf-*.zip"/>
         <delete file="manifoldcf-*.tar.gz"/>
         <ant dir="modules" target="clean"/>
+        <ant dir="site" target="clean"/>
     </target>
     
     <target name="deliver">
           <ant dir="modules" target="all"/>
+          <ant dir="site" target="all"/>
+          <mkdir dir="modules/dist/site"/>
+          <copy todir="modules/dist/site">
+              <fileset dir="site/build/site"/>
+          </copy>
     </target>
     
     <target name="dist-zip" depends="deliver">
           <mkdir dir="dist"/>
-	<zip destfile="dist/manifoldcf-SNAPSHOT-0.1.zip" basedir="modules/dist" update="true"/>
+	<zip destfile="dist/manifoldcf-SNAPSHOT-0.1.zip" basedir="modules/dist" update="false"/>
     </target>
     
     <target name="dist-tar" depends="deliver">

Added: incubator/lcf/trunk/site/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/site/build.xml?rev=1034881&view=auto
==============================================================================
--- incubator/lcf/trunk/site/build.xml (added)
+++ incubator/lcf/trunk/site/build.xml Sat Nov 13 21:18:54 2010
@@ -0,0 +1,18 @@
+<project default="all">
+
+    <target name="clean">
+        <delete dir="build"/>
+    </target>
+    
+    <target name="dist">
+        <exec executable="cmd.exe" dir="." searchpath="true" failonerror="true" osfamily="windows">
+            <arg line="/c forrest.bat site"/>
+        </exec>
+        <exec executable="forrest" dir="." searchpath="true" failonerror="true" osfamily="unix">
+            <arg line="site"/>
+        </exec>
+    </target>
+    
+    <target name="all" depends="dist"/>
+    
+</project>

Propchange: incubator/lcf/trunk/site/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/site/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message