[jboss-cvs] JBossAS SVN: r109524 - in projects/jboss-jca/trunk/doc: developerguide/en-US and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Nov 28 11:08:29 EST 2010


Author: jeff.zhang
Date: 2010-11-28 11:08:29 -0500 (Sun, 28 Nov 2010)
New Revision: 109524

Added:
   projects/jboss-jca/trunk/doc/build.xml
   projects/jboss-jca/trunk/doc/developerguide/en-US/developerguide.xml
   projects/jboss-jca/trunk/doc/userguide/en-US/userguide.xml
Modified:
   projects/jboss-jca/trunk/doc/userguide/en-US/modules/embedded.xml
Log:
[JBJCA-473] generate docments by docant

Added: projects/jboss-jca/trunk/doc/build.xml
===================================================================
--- projects/jboss-jca/trunk/doc/build.xml	                        (rev 0)
+++ projects/jboss-jca/trunk/doc/build.xml	2010-11-28 16:08:29 UTC (rev 109524)
@@ -0,0 +1,48 @@
+<project name="Docbook-Ironjacamar" default="process" basedir=".">
+
+  <property name="build.dir" value="build"/>
+  <property name="docant.dir" value="${basedir}/../tools/docant"/>
+  <import file="${docant.dir}/support.xml"/>
+
+  <macrodef name="transformer">
+    <attribute name="srcDir"/>
+    <attribute name="srcDocName"/>
+    <attribute name="pdfName"/>
+    <sequential>
+      <delete dir="${docant.dir}/target/docbook/publish"/>
+
+      <docant sourceDirectory="@{srcDir}" 
+              sourceDocumentName="@{srcDocName}"
+              baseOutputDirectory="${docant.dir}/target">
+
+	<format name="html_single" 
+	stylesheetResource="classpath:/xslt/org/jboss/xhtml-single.xsl"
+	targetFinalName="index.html"/>
+
+	<format name="html" 
+	stylesheetResource="classpath:/xslt/org/jboss/xhtml.xsl"
+	targetFinalName="index.html"/>
+	<format name="pdf" 
+	stylesheetResource="classpath:/xslt/org/jboss/pdf.xsl"
+	targetFinalName="@{pdfName}"/>
+      </docant>
+      <mkdir dir="${basedir}/target/publish/@{srcDir}"/>
+
+      <move file="${docant.dir}/target/docbook/publish" tofile="${basedir}/target/publish/@{srcDir}" failonerror="false"/>
+
+    </sequential>
+  </macrodef>
+
+  <target name="process">
+
+    <transformer srcDir="developerguide" 
+            srcDocName="developerguide.xml"
+            pdfName="ironjacamar_developerguide.pdf"/>
+
+    <transformer srcDir="userguide" 
+            srcDocName="userguide.xml"
+            pdfName="ironjacamar_userguide.pdf"/>
+
+  </target>
+
+</project>

Added: projects/jboss-jca/trunk/doc/developerguide/en-US/developerguide.xml
===================================================================
--- projects/jboss-jca/trunk/doc/developerguide/en-US/developerguide.xml	                        (rev 0)
+++ projects/jboss-jca/trunk/doc/developerguide/en-US/developerguide.xml	2010-11-28 16:08:29 UTC (rev 109524)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+              "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+        <!ENTITY dedication SYSTEM "../../userguide/en-US/modules/dedication.xml">
+        <!ENTITY preface SYSTEM "../../userguide/en-US/modules/preface.xml">
+        <!ENTITY introduction SYSTEM "../../userguide/en-US/modules/introduction.xml">
+        <!ENTITY building SYSTEM "modules/building.xml">
+        <!ENTITY releases SYSTEM "modules/releases.xml">
+        <!ENTITY issuetracking SYSTEM "modules/issuetracking.xml">
+        <!ENTITY testing SYSTEM "modules/testing.xml">
+        <!ENTITY metadata SYSTEM "modules/metadata.xml">
+        <!ENTITY deployers SYSTEM "modules/deployers.xml">
+        <!ENTITY standalone SYSTEM "modules/standalone.xml">
+        ]>
+<book lang="en">
+   <bookinfo>
+      <title>IronJacamar 1.0 Developer's Guide</title>
+
+      <subtitle>Connecting your Enterprise Information Systems</subtitle>
+
+      <mediaobject>
+        <imageobject>
+          <imagedata fileref="images/logo.png" align="center" valign="middle"/>
+        </imageobject>
+      </mediaobject>
+
+   </bookinfo>
+
+   &dedication;
+
+   <toc></toc>
+
+   &preface;
+
+   &introduction;
+
+   &building;
+
+   &releases;
+
+   &issuetracking;
+
+   &testing;
+
+   &metadata;
+
+   &deployers;
+
+   &standalone;
+
+</book>

Modified: projects/jboss-jca/trunk/doc/userguide/en-US/modules/embedded.xml
===================================================================
--- projects/jboss-jca/trunk/doc/userguide/en-US/modules/embedded.xml	2010-11-28 15:55:13 UTC (rev 109523)
+++ projects/jboss-jca/trunk/doc/userguide/en-US/modules/embedded.xml	2010-11-28 16:08:29 UTC (rev 109524)
@@ -154,11 +154,11 @@
 }
         </programlisting>
 
-        <callout>
+
           <note>Note that, the url for the archive must end with the <code>.rar</code> extension
             - either representing a file or a directory.</note>
-        </callout>
 
+
         <para>See the IronJacamar Embedded API documentation for additional functionality.</para>
 
         <section id="embedded_usage_automaticactivation">
@@ -346,10 +346,10 @@
 ]]>
           </programlisting>
           
-          <callout>
+
             <note>Note that, the name for the <code>ResourceAdapterArchive</code> must end with the
               <code>.rar</code> extension.</note>
-          </callout>
+
           
           <para>See the <ulink url="http://www.jboss.org/community/wiki/ShrinkWrap">
               ShrinkWrap</ulink> web site for a full description of the project and additional documentation.</para>
@@ -454,10 +454,10 @@
 ]]>
           </programlisting>
           
-          <callout>
+
             <note>Note that, the name for the <code>ResourceAdapterArchive</code> must end with the
               <code>.rar</code> extension.</note>
-          </callout>
+
           
           <para>See the <ulink url="http://community.jboss.org/en/arquillian">
               Arquillian</ulink> web site for a full description of the project and additional documentation.</para>

Added: projects/jboss-jca/trunk/doc/userguide/en-US/userguide.xml
===================================================================
--- projects/jboss-jca/trunk/doc/userguide/en-US/userguide.xml	                        (rev 0)
+++ projects/jboss-jca/trunk/doc/userguide/en-US/userguide.xml	2010-11-28 16:08:29 UTC (rev 109524)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+              "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+        <!ENTITY dedication SYSTEM "modules/dedication.xml">
+        <!ENTITY preface SYSTEM "modules/preface.xml">
+        <!ENTITY introduction SYSTEM "modules/introduction.xml">
+        <!ENTITY download SYSTEM "modules/download.xml">
+        <!ENTITY nc_installation SYSTEM "modules/installation.xml">
+        <!ENTITY configuration SYSTEM "modules/configuration.xml">
+        <!ENTITY deployment SYSTEM "modules/deployment.xml">
+        <!ENTITY running SYSTEM "modules/running.xml">
+        <!ENTITY validator SYSTEM "modules/validator.xml">
+        <!ENTITY codegenerator SYSTEM "modules/codegenerator.xml">
+        <!ENTITY embedded SYSTEM "modules/embedded.xml">
+        <!ENTITY community SYSTEM "modules/community.xml">
+        <!ENTITY troubleshooting SYSTEM "modules/troubleshooting.xml">
+        <!ENTITY schemas SYSTEM "modules/schemas.xml">
+        <!ENTITY sample SYSTEM "modules/sample.xml">
+        ]>
+<book lang="en">
+   <bookinfo>
+      <title>IronJacamar 1.0 User's Guide</title>
+
+      <subtitle>Connecting your Enterprise Information Systems</subtitle>
+
+      <mediaobject>
+        <imageobject>
+          <imagedata fileref="images/logo.png" align="center" valign="middle"/>
+        </imageobject>
+      </mediaobject>
+
+   </bookinfo>
+
+   &dedication;
+
+   <toc></toc>
+
+   &preface;
+
+   &introduction;
+
+   &download;
+
+   &nc_installation;
+
+   &configuration;
+
+   &deployment;
+
+   &running;
+
+   &validator;
+
+   &codegenerator;
+
+   &embedded;
+
+   &community;
+
+   &troubleshooting;
+
+   &schemas;
+<!--
+   &sample;
+-->
+</book>



More information about the jboss-cvs-commits mailing list