[hibernate-commits] Hibernate SVN: r18084 - annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Nov 27 15:58:26 EST 2009


Author: stliu
Date: 2009-11-27 15:58:26 -0500 (Fri, 27 Nov 2009)
New Revision: 18084

Removed:
   annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/README
   annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/build.xml
   annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/docbook-common-build.xml
   annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/support/
Log:
JBPAPP-3510 remove unnecessary docbook build script, now the docbook will be built by maven jdocbook plugin

Deleted: annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/README
===================================================================
--- annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/README	2009-11-27 20:56:32 UTC (rev 18083)
+++ annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/README	2009-11-27 20:58:26 UTC (rev 18084)
@@ -1,9 +0,0 @@
-We're using the DocBook XSL distribution for HTML and PDF
-generation. The best results can be achieved with the
-Saxon XSLT processor (don't use Xalan!) and the Apache
-FOP library.
-
-The documentation is generated with the distribution
-build.xml target 'doc<pdf|html|htmlsingle>'.
-
-christian at hibernate.org

Deleted: annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/build.xml
===================================================================
--- annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/build.xml	2009-11-27 20:56:32 UTC (rev 18083)
+++ annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/build.xml	2009-11-27 20:58:26 UTC (rev 18084)
@@ -1,22 +0,0 @@
-<project name="Documentation" default="all.doc" basedir=".">
-
-    <import file="docbook-common-build.xml"/>
-
-    <target name="all.doc" depends="clean">
-
-        <!-- TRANSLATOR: Duplicate this call for your language -->
-        <antcall target="lang.all">
-            <param name="docname" value="hibernate_annotations"/>
-            <param name="lang" value="en"/>
-        </antcall>
-        <antcall target="lang.all">
-            <param name="docname" value="hibernate_annotations"/>
-            <param name="lang" value="zh_cn"/>
-        </antcall>
-        <antcall target="lang.all">
-            <param name="docname" value="hibernate_annotations"/>
-            <param name="lang" value="fr"/>
-        </antcall>
-    </target>
-
-</project>

Deleted: annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/docbook-common-build.xml
===================================================================
--- annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/docbook-common-build.xml	2009-11-27 20:56:32 UTC (rev 18083)
+++ annotations/branches/v3_4_0_GA_CP-r17982/src/main/docbook/docbook-common-build.xml	2009-11-27 20:58:26 UTC (rev 18084)
@@ -1,209 +0,0 @@
-<!--
-   To build the reference docs for a particular language only, use "ant -Dlang=en", for
-   example, and call either lang.all, lang.docpdf, lang.dochtml, or lang.dochtmlsingle
-   for the target of your choice.
-
-   You can also call lang.section-check to track down missing identifiers in a particular
-   language, or you can call lang.revdiff to get a difference report for a particular
-   language, compared with the English reference.
--->
-<project name="ReferenceDocumentation" default="all.doc" basedir=".">
-    <!-- Allow this to be overriden by others importing this project. -->
-    <dirname property="imported.basedir" file="${ant.file.ReferenceDocumentation}"/>
-
-    <!-- Set build directories for all formats. -->
-    <property name="build.dir"             value="${basedir}/build"/>
-
-    <!-- Support files for build process. -->
-    <property name="support.dir"           value="${imported.basedir}/support"/>
-
-    <!-- Base name for documentation artifacts. -->
-    <property name="docname"               value="hibernate_reference"/>
-
-    <!-- Set DocBook stylesheets. -->
-    <property name="db.style.fopdf"        value="fopdf.xsl"/>
-    <property name="db.style.html"         value="html_chunk.xsl"/>
-    <property name="db.style.htmlsingle"   value="html.xsl"/>
-
-    <!-- Classpath for the build tools. -->
-    <path id="lib.classpath">
-        <fileset dir="${support.dir}/lib">
-            <include name="**/*.jar"/>
-        </fileset>
-    </path>
-
-    <!-- ################################################################## -->
-
-    <target name="all.doc"
-            depends="clean"
-            description="Compile documentation for all languages and all formats.">
-
-        <!-- TRANSLATOR: Duplicate this line for your language -->
-        <antcall target="lang.all"><param name="lang" value="en"/></antcall>
-        <antcall target="lang.all"><param name="lang" value="fr"/></antcall>
-        <!-- TODO: These translations need updating before we can enable them...
-        <antcall target="lang.all"><param name="lang" value="ja"/></antcall>
-    	<antcall target="lang.all"><param name="lang" value="ko"/></antcall>
-        <antcall target="lang.all"><param name="lang" value="zh-cn"/></antcall>
-    	-->
-
-    </target>
-
-    <target name="all.revdiff"
-            description="Generates a diff report for all translated versions.">
-
-        <!-- TRANSLATOR: Duplicate this line for your language -->
-		<antcall target="lang.revdiff"><param name="lang" value="fr"/></antcall>
-        <antcall target="lang.revdiff"><param name="lang" value="ko"/></antcall>
-		<antcall target="lang.revdiff"><param name="lang" value="ja"/></antcall>
-        <antcall target="lang.revdiff"><param name="lang" value="zh-cn"/></antcall>
-
-    </target>
-
-    <!-- ################################################################## -->
-
-    <target name="clean">
-
-        <!-- Delete build directory. -->
-        <delete dir="${build.dir}"/>
-
-    </target>
-
-    <target name="lang.all">
-        <!-- Compile the documentation for a single language in all formats. -->
-        <antcall target="lang.docpdf"/>
-        <antcall target="lang.dochtml"/>
-        <antcall target="lang.dochtmlsingle"/>
-        <antcall target="lang.htmlmisc"/>
-    </target>
-
-
-    <target name="lang.docpdf.prepare">
-
-        <!-- Copy all the images to the output location, will be removed later. -->
-        <copy todir="${build.dir}/${lang}/pdf/images">
-            <fileset dir="${basedir}/${lang}/images">
-                <include name="**/*.png"/>
-                <include name="**/*.svg"/>
-                <include name="**/*.gif"/>
-            </fileset>
-        </copy>
-
-        <!-- Create the XSL/FO temporary file. -->
-        <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${basedir}" maxmemory="128m" >
-            <classpath refid="lib.classpath"/>
-            <arg value="-o"/>
-            <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
-            <arg value="${basedir}/${lang}/master.xml"/>
-            <arg value="${basedir}/${lang}/styles/${db.style.fopdf}"/>
-        </java>
-
-        <available property="custom.fop.userconfig.present" file="userconfig.xml" filepath="${basedir}/${lang}/fop"/>
-    </target>
-
-    <target name="lang.docpdf.customized" depends="lang.docpdf.prepare" if="custom.fop.userconfig.present">
-
-        <copy todir="${build.dir}/${lang}/pdf">
-            <fileset dir="${basedir}/${lang}/fop">
-                <include name="*"/>
-            </fileset>
-        </copy>
-
-        <!-- Create a PDF from the XSL/FO, using customized fop userconfig.xml -->
-        <java classname="org.apache.fop.apps.Fop" fork="true" dir="${basedir}" maxmemory="128m" >
-            <classpath refid="lib.classpath"/>
-            <arg value="-c"/>
-            <arg value="${basedir}/${lang}/fop/userconfig.xml"/>
-            <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
-            <arg value="${build.dir}/${lang}/pdf/${docname}.pdf"/>
-        </java>
-    </target>
-
-    <target name="lang.docpdf.normal" depends="lang.docpdf.prepare" unless="custom.fop.userconfig.present">
-        <!-- Create a PDF from the XSL/FO. -->
-        <java classname="org.apache.fop.apps.Fop" fork="true" dir="${basedir}">
-            <classpath refid="lib.classpath"/>
-            <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
-            <arg value="${build.dir}/${lang}/pdf/${docname}.pdf"/>
-        </java>
-    </target>
-
-    <target name="lang.docpdf" depends="lang.docpdf.normal,lang.docpdf.customized"
-            description="Generates the PDF documentation only for a language (set lang)">
-        <!-- House keeping,delete temporary files. -->
-        <delete>
-            <fileset dir="${build.dir}/${lang}/pdf" excludes="**/*.pdf"/>
-        </delete>
-        <delete  dir="${build.dir}/${lang}/pdf/images"/>
-    </target>
-
-    <target name="lang.dochtml"
-            description="Generates the HTML documentation only for a language (set lang)">
-
-        <mkdir dir="${build.dir}/${lang}/html/"/>
-
-        <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${build.dir}/${lang}/html">
-            <classpath refid="lib.classpath"/>
-            <arg value="${basedir}/${lang}/master.xml"/>
-            <arg value="${basedir}/${lang}/styles/${db.style.html}"/>
-        </java>
-    </target>
-
-    <target name="lang.dochtmlsingle"
-        description="Generates the single-page HTML documentation only for a language (set lang)">
-
-        <mkdir dir="${build.dir}/${lang}/html_single/"/>
-
-        <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${basedir}">
-            <classpath refid="lib.classpath"/>
-            <arg value="-o"/>
-            <arg value="${build.dir}/${lang}/html_single/index.html"/>
-            <arg value="${basedir}/${lang}/master.xml"/>
-            <arg value="${basedir}/${lang}/styles/${db.style.htmlsingle}"/>
-        </java>
-    </target>
-
-    <target name="lang.htmlmisc">
-
-        <!-- Copy images and CSS for HTML documentation, language specific. -->
-        <copy todir="${build.dir}/${lang}/shared/images">
-            <fileset dir="${basedir}/${lang}/images">
-                <include name="**/*.png"/>
-                <include name="**/*.gif"/>
-            </fileset>
-        </copy>
-        <copy todir="${build.dir}/${lang}/shared/css">
-            <fileset dir="${basedir}/${lang}/styles">
-                <include name="**/*.css"/>
-            </fileset>
-        </copy>
-
-    </target>
-
-    <target name="lang.revdiff"
-            description="Reports difference between English and translation (set lang)">
-
-		<mkdir dir="${build.dir}"/>
-
-        <taskdef name="revdiff"
-            classname="org.hibernate.docproc.revdiff.RevDiffReportTask"
-            classpathref="lib.classpath">
-
-        </taskdef>
-
-        <revdiff original="${basedir}/en/master.xml"
-                 copy="${basedir}/${lang}/master.xml"
-                 report="${build.dir}/status_${lang}.html"/>
-
-    </target>
-
-    <target name="lang.section-check" depends="lang.dochtml"
-            description="Reports missing unique chapter/section identifiers (set lang)">
-        <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${build.dir}/${lang}/html">
-            <classpath refid="lib.classpath"/>
-            <arg value="${basedir}/${lang}/master.xml"/>
-            <arg value="${support.dir}/section-check.xsl"/>
-        </java>
-    </target>
-
-</project>



More information about the hibernate-commits mailing list