knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmc...@apache.org
Subject svn commit: r1596696 - /knox/trunk/build.xml
Date Wed, 21 May 2014 21:25:24 GMT
Author: lmccay
Date: Wed May 21 21:25:24 2014
New Revision: 1596696

URL: http://svn.apache.org/r1596696
Log:
fixed publishing of 0.5.0 book

Modified:
    knox/trunk/build.xml

Modified: knox/trunk/build.xml
URL: http://svn.apache.org/viewvc/knox/trunk/build.xml?rev=1596696&r1=1596695&r2=1596696&view=diff
==============================================================================
--- knox/trunk/build.xml (original)
+++ knox/trunk/build.xml Wed May 21 21:25:24 2014
@@ -30,6 +30,8 @@
     <property name="book-0-3-0-file" value="${book-0-3-0-dir}/${gateway-artifact}-0-3-0.html"/>
     <property name="book-0-4-0-dir" value="${book-target}/${gateway-artifact}-0-4-0"/>
     <property name="book-0-4-0-file" value="${book-0-4-0-dir}/${gateway-artifact}-0-4-0.html"/>
+    <property name="book-0-5-0-dir" value="${book-target}/${gateway-artifact}-0-5-0"/>
+    <property name="book-0-5-0-file" value="${book-0-5-0-dir}/${gateway-artifact}-0-5-0.html"/>
 
     <property name="svn.release.path" value="https://dist.apache.org/repos/dist/release/incubator/${gateway-project}"
/>
     <property name="svn.staging.path" value="https://dist.apache.org/repos/dist/dev/incubator/${gateway-project}"
/>
@@ -78,7 +80,7 @@
     </target>
 
     <target name="books" depends="markbook,_books"/>
-    <target name="_books" depends="_book-0-3-0,_book-0-4-0"/>
+    <target name="_books" depends="_book-0-3-0,_book-0-4-0,_book-0-5-0"/>
     <target name="_book-0-3-0" depends="init">
         <delete dir="${book-target}/${gateway-artifact}-0-3-0" includes="**/*.html,**/*.css,**/*.png"/>
         <java jar="markbook/target/markbook.jar" fork="true" failonerror="true">
@@ -99,6 +101,16 @@
             <fileset dir="books/static"/>
         </copy>
     </target>
+    <target name="_book-0-5-0" depends="init">
+        <delete dir="${book-target}/${gateway-artifact}-0-5-0" includes="**/*.html,**/*.css,**/*.png"/>
+        <java jar="markbook/target/markbook.jar" fork="true" failonerror="true">
+            <arg value="-i"/><arg value="books/0.5.0/book.md"/>
+            <arg value="-o"/><arg value="${book-0-5-0-file}"/>
+        </java>
+        <copy todir="${book-target}/${gateway-artifact}-0-5-0">
+            <fileset dir="books/static"/>
+        </copy>
+    </target>
 
     <target name="markbook" depends="init" description="Build and package markbook tool.">
         <exec executable="${mvn.cmd}">



Mime
View raw message