[jboss-svn-commits] JBL Code SVN: r35445 - in labs/jbosstm/trunk/XTS: docs/Transactions_XTS_Programmers_Guide and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Oct 6 04:58:31 EDT 2010


Author: jhalliday
Date: 2010-10-06 04:58:31 -0400 (Wed, 06 Oct 2010)
New Revision: 35445

Modified:
   labs/jbosstm/trunk/XTS/build.xml
   labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/en-US/Book_Info.xml
   labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/en-US/Transactions_XTS_Development_Guide.ent
   labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/publican.cfg
   labs/jbosstm/trunk/XTS/sharedbuild.xml
Log:
Update docs build for 4.13  JBTM-793


Modified: labs/jbosstm/trunk/XTS/build.xml
===================================================================
--- labs/jbosstm/trunk/XTS/build.xml	2010-10-06 08:51:00 UTC (rev 35444)
+++ labs/jbosstm/trunk/XTS/build.xml	2010-10-06 08:58:31 UTC (rev 35445)
@@ -157,8 +157,21 @@
 		<copy todir="${xts.installationdirectory}/docs/api">
 			<fileset dir="${xts.htdocs.dest}"/>
 		</copy>
-		<copy todir="${xts.installationdirectory}/docs">
-			<fileset dir="docs" includes="*.pdf"/>
+
+        <if>
+            <istrue value="${publican}" />
+            <then>
+                <delete dir="${publican.build.dir}" failonerror="false"/>
+                <exec dir="docs/Transactions_XTS_Programmers_Guide" executable="publican">
+                    <arg value="build"/>
+                    <arg value="--langs=en-US"/>
+                    <arg value="--formats=pdf,html"/>
+                </exec>
+            </then>
+        </if>
+
+		<copy todir="${xts.installationdirectory}/docs" flatten="true">
+            <fileset dir="${publican.build.dir}" includes="*/en-US/pdf/*.pdf"/>
 		</copy>
 
 		<echo message="Installing licences"/>

Modified: labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/en-US/Book_Info.xml
===================================================================
--- labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/en-US/Book_Info.xml	2010-10-06 08:51:00 UTC (rev 35444)
+++ labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/en-US/Book_Info.xml	2010-10-06 08:58:31 UTC (rev 35445)
@@ -1,13 +1,13 @@
 <?xml version='1.0' encoding='utf-8' ?>
 <!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Transactions_XTS_Programmers_Guide.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "Transactions_XTS_Development_Guide.ent">
 %BOOK_ENTITIES;
 ]>
-<bookinfo id="book-Transactions_XTS_Programmers_Guide-Transactions_XTS_Programmers_Guide">
+<bookinfo id="book-Transactions_XTS_Development_Guide-Transactions_XTS_Development_Guide">
 	<title>Transactions XTS Development Guide</title>
 	<subtitle>Using the XTS Module of &PRODUCT; to provide Web Services Transactions</subtitle>
-	<productname>&PRODUCT;</productname>
-	<productnumber>&VERSION;</productnumber>
+	<productname>JBoss Transactions</productname>
+	<productnumber>4.13</productnumber>
 	<edition>0</edition>
 	<pubsnumber>0</pubsnumber>
 	<abstract>

Modified: labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/en-US/Transactions_XTS_Development_Guide.ent
===================================================================
--- labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/en-US/Transactions_XTS_Development_Guide.ent	2010-10-06 08:51:00 UTC (rev 35444)
+++ labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/en-US/Transactions_XTS_Development_Guide.ent	2010-10-06 08:58:31 UTC (rev 35445)
@@ -1,7 +1,7 @@
 <!ENTITY PRODUCT "JBoss Transactions">
 <!ENTITY BOOKID "XTS_Development_Guide">
-<!ENTITY VERSION "TRUNK">
+<!ENTITY VERSION "4.13">
 <!ENTITY YEAR "2010">
 <!ENTITY HOLDER "JBoss.org">
 <!ENTITY APPSERVER "JBoss Application Server">
-<!-- <!ENTITY APPSERVER "Enterprise Application Platform Server"> -->
\ No newline at end of file
+<!-- <!ENTITY APPSERVER "Enterprise Application Platform Server"> -->

Modified: labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/publican.cfg
===================================================================
--- labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/publican.cfg	2010-10-06 08:51:00 UTC (rev 35444)
+++ labs/jbosstm/trunk/XTS/docs/Transactions_XTS_Programmers_Guide/publican.cfg	2010-10-06 08:58:31 UTC (rev 35445)
@@ -4,4 +4,5 @@
 xml_lang: en-US
 type: Book
 brand: jboss-community
+tmp_dir: ../build/Transaction_XTS_Programmers_Guide
 

Modified: labs/jbosstm/trunk/XTS/sharedbuild.xml
===================================================================
--- labs/jbosstm/trunk/XTS/sharedbuild.xml	2010-10-06 08:51:00 UTC (rev 35444)
+++ labs/jbosstm/trunk/XTS/sharedbuild.xml	2010-10-06 08:58:31 UTC (rev 35445)
@@ -71,6 +71,10 @@
         <isset property="cxf.build"/>
     </condition>
 
+    <!-- override to disable publican use -->
+    <property name="publican" value="true"/>
+    <property name="publican.build.dir" value="docs/build"/>
+
     <!-- by default we build 1.0 and 1.1 for ease of testing,
         but release bundles should use -Dsartype=sar-11 so that
         they contain only the supported version. -->
@@ -128,7 +132,7 @@
     <!-- enable ant contrib tasks -->
     <taskdef resource="net/sf/antcontrib/antlib.xml">
         <classpath>
-            <pathelement location="${jbossts.buildsystem.dir}/antbuildsystem/ant-contrib-1.0b3.jar"/>
+            <pathelement location="${jbossts.buildsystem.dir}/ant-contrib-1.0b3.jar"/>
         </classpath>
     </taskdef>
 



More information about the jboss-svn-commits mailing list