Author: alexsmirnov
Date: 2007-06-06 17:58:25 -0400 (Wed, 06 Jun 2007)
New Revision: 251
Added:
trunk/docs/xslt/support.properties
trunk/docs/xslt/support.xml
Removed:
trunk/docs/xslt/support/support.properties
trunk/docs/xslt/support/support.xml
Modified:
trunk/docs/userguide/build.xml
trunk/docs/userguide/en/src/main/docbook/master.xml
trunk/docs/userguide/pom.xml
trunk/docs/xslt/src/main/resources/en/f.xsl
trunk/docs/xslt/src/main/resources/en/html_chunk.xsl
Log:
Restore ant documentation build, in addition to a maven build.
Modified: trunk/docs/userguide/build.xml
===================================================================
--- trunk/docs/userguide/build.xml 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/userguide/build.xml 2007-06-06 21:58:25 UTC (rev 251)
@@ -1,10 +1,10 @@
<project name="Documentation" default="all.doc"
basedir=".">
<!-- Set the following property to generate the doco in the output folder -->
- <property name="build.dir"
value="${basedir}/../build/usersguide"/>
+ <property name="build.dir"
value="${basedir}/../target/usersguide"/>
<property name="pdf.name"
value="ajax4jsf-usersguide.pdf" />
- <import file="../resources/support.xml" />
+ <import file="../xslt/support.xml" />
<target name="all.doc" depends="clean">
<antcall target="lang.all"><param name="lang"
value="en"/></antcall>
Modified: trunk/docs/userguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/master.xml 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/userguide/en/src/main/docbook/master.xml 2007-06-06 21:58:25 UTC (rev 251)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
-"../../../../jbosstools/trunk/documentation/resources/support/docbook-dtd/docbookx.dtd"
+"../../../../../xslt/src/main/resources/support/docbook-dtd/docbookx.dtd"
[ <!ENTITY introduction SYSTEM "modules/a4jUGintro.xml">
<!ENTITY technicalRequirements SYSTEM "modules/a4jUGtechreqs.xml">
<!ENTITY getttingStarted SYSTEM "modules/a4jUGstart.xml">
@@ -30,7 +30,11 @@
&envSettings;
&getttingStarted;
&usingAJAX;
- &componentDetails;
+ <chapter>
+
+ <title>Ajax4jsf components</title>
+ &componentDetails;
+ </chapter>
&skinnability;
&IDEintegration;
Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/userguide/pom.xml 2007-06-06 21:58:25 UTC (rev 251)
@@ -179,11 +179,15 @@
<stylesheetResource>
/${translation}/html.xsl
</stylesheetResource>
- <!--
- <finalName>index.html</finalName>
- -->
+ <finalName>ajax4jsf_reference.html</finalName>
</format>
<format>
+ <formatName>html</formatName>
+ <stylesheetResource>
+ /${translation}/html_chunk.xsl
+ </stylesheetResource>
+ </format>
+ <format>
<formatName>pdf</formatName>
<stylesheetResource>
/${translation}/fopdf.xsl
Modified: trunk/docs/xslt/src/main/resources/en/f.xsl
===================================================================
--- trunk/docs/xslt/src/main/resources/en/f.xsl 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/xslt/src/main/resources/en/f.xsl 2007-06-06 21:58:25 UTC (rev 251)
@@ -9,9 +9,6 @@
<xsl:template match="javaee:taglib | taglib">
<xsl:variable
name="excluded-tag-names">header2,header3,header4,header5,header6</xsl:variable>
- <chapter>
-
- <title><xsl:value-of select="$title"/></title>
<xsl:for-each select="javaee:tag | tag">
<!--xsl:value-of select="./name/text()" /-->
@@ -23,7 +20,6 @@
<xsl:call-template name="tag" />
</xsl:if>
</xsl:for-each>
- </chapter>
</xsl:template>
<xsl:template name="tag">
Modified: trunk/docs/xslt/src/main/resources/en/html_chunk.xsl
===================================================================
--- trunk/docs/xslt/src/main/resources/en/html_chunk.xsl 2007-06-06 18:41:00 UTC (rev
250)
+++ trunk/docs/xslt/src/main/resources/en/html_chunk.xsl 2007-06-06 21:58:25 UTC (rev
251)
@@ -15,7 +15,7 @@
-->
<!DOCTYPE xsl:stylesheet [
- <!ENTITY db_xsl_path "../../support/docbook-xsl/">
+ <!ENTITY db_xsl_path "../support/docbook-xsl/">
]>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
Deleted: trunk/docs/xslt/support/support.properties
===================================================================
--- trunk/docs/xslt/support/support.properties 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/xslt/support/support.properties 2007-06-06 21:58:25 UTC (rev 251)
@@ -1,2 +0,0 @@
-#Wed Apr 11 15:30:36 EEST 2007
-ajax4jsf.location=E:\\poligon\\SVNLocation\\ajax4jsf\\trunk
Deleted: trunk/docs/xslt/support/support.xml
===================================================================
--- trunk/docs/xslt/support/support.xml 2007-06-06 18:41:00 UTC (rev 250)
+++ trunk/docs/xslt/support/support.xml 2007-06-06 21:58:25 UTC (rev 251)
@@ -1,259 +0,0 @@
-<project name="DocSupport" default="all.doc"
basedir=".">
-
- <dirname property="support.startdir"
file="${ant.file.DocSupport}"/>
-
- <property name="support.basedir"
value="${support.startdir}"/>
-
- <property file="${support.startdir}/support.properties" />
-
- <!-- Set build directories for all formats. -->
- <property name="build.dir"
value="${basedir}/build"/>
-
- <!-- Support files for build process. -->
- <property name="support.dir"
value="${support.basedir}/support"/>
- <property name="styles.dir"
value="${support.basedir}/styles"/>
-
- <!-- 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"/>
-
- <property name="maxmem" value="1024m" />
-
- <xmlcatalog id="docbook.catalog">
- <catalogpath path="${support.basedir}/docbook-dtd/catalog.xml"
/>
- </xmlcatalog>
-
-
- <!-- Classpath for the build tools. -->
- <path id="lib.classpath">
- <fileset dir="${support.dir}/lib">
- <include name="**/saxon1.jar" />
- </fileset>
- <dirset dir="." />
- <fileset dir="${support.dir}/lib">
- <include name="**/*.jar"/>
- <exclude name="**/saxon1.jar"/>
- </fileset>
- </path>
-
- <!-- ################################################################## -->
-
- <target name="all.doc" depends="clean">
- <antcall target="lang.all"><param name="lang"
value="en"/></antcall>
- </target>
-
- <!-- ################################################################## -->
-
- <target name="lang.all.bypass.check"
unless="lang.all.bypass.disabled">
- <uptodate property="lang.all.bypass.on"
targetfile="${build.dir}/${lang}/pdf/${pdf.name}">
- <srcfiles dir="${support.basedir}" includes="**"/>
- <srcfiles dir="${basedir}/${lang}" includes="**"/>
- <srcfiles dir="${basedir}" includes="build.xml"/>
- </uptodate>
- </target>
-
- <target name="lang.all.run" depends="lang.all.bypass.check,
lang.all.bypass.message" unless="lang.all.bypass.on">
- <antcall target="clean"/>
- <antcall target="lang.all"/>
- </target>
-
- <target name="lang.all.bypass.message"
if="lang.all.bypass.on">
- <echo>Already uptodate: ${build.dir}/${lang}/pdf/${pdf.name}</echo>
- <echo>add -Dlang.all.bypass.disabled=true to force a rebuild</echo>
- </target>
-
- <!-- ################################################################## -->
-
- <target name="lang.dochtml.bypass.check"
unless="lang.dochtml.bypass.disabled">
- <uptodate property="lang.dochtml.bypass.on"
targetfile="${build.dir}/${lang}/html/index.html">
- <srcfiles dir="${support.basedir}" includes="**"/>
- <srcfiles dir="${basedir}/${lang}" includes="**"/>
- <srcfiles dir="${basedir}" includes="build.xml"/>
- </uptodate>
- </target>
-
- <target name="lang.dochtml.run" depends="lang.dochtml.bypass.check,
lang.dochtml.bypass.message" unless="lang.dochtml.bypass.on">
- <antcall target="clean.dochtml"/>
- <antcall target="lang.dochtml"/>
- <antcall target="lang.dochtmlsingle"/>
- </target>
-
- <target name="lang.dochtml.bypass.message"
if="lang.dochtml.bypass.on">
- <echo>Already uptodate: ${build.dir}/${lang}/html/index.html</echo>
- <echo>add -Dlang.dochtml.bypass.disabled=true to force a
rebuild</echo>
- </target>
-
- <!-- ################################################################## -->
-
- <target name="clean">
- <!-- Delete build directory. -->
- <delete dir="${build.dir}"/>
- </target>
-
- <target name="clean.dochtml">
- <!-- Delete build directory for single html -->
- <delete dir="${build.dir}/${lang}/html"/>
- <delete dir="${build.dir}/${lang}/html_single"/>
- </target>
-
- <target name="collect-tld">
- <mkdir dir="../build/generated/${lang}" />
- <copy flatten="yes" todir="../build/generated/${lang}">
- <fileset dir="${ajax4jsf.location}">
- <include name="framework/target/classes/META-INF/*.tld"/>
- </fileset>
-
- </copy>
- <touch>
- <fileset dir="../build/generated/${lang}">
- <include name="*.tld" />
- </fileset>
- </touch>
- </target>
-
- <!-- - - - - - - - - - - - - - - - - -
- target: tld2docbook
- - - - - - - - - - - - - - - - - - -->
- <target name="tld2docbook" depends="collect-tld">
- <!--Target must be started for every component in library till
- the one tld file for all the components isn't present-->
- <xslt classpathref="lib.classpath" style="f.xsl"
basedir="../build/generated/${lang}"
destdir="../build/generated/${lang}">
- <include name="*.tld"/>
-
- <mapper type="glob" from="*.tld" to="*_table.xml"
/>
-
- <param name="lang" expression="${lang}"/>
- </xslt>
- <!--End of the tld process-->
- </target>
-
-
-
- <!-- ################################################################## -->
-
- <target name="lang.all">
- <antcall target="lang.docpdf"/>
- <antcall target="lang.dochtml"/>
- <antcall target="lang.dochtmlsingle"/>
- <!--
- <antcall target="lang.htmlmisc"/>
- -->
- </target>
-
- <target name="lang.docpdf" depends="tld2docbook">
- <!-- 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"/>
- <include name="**/*.jpg"/>
- </fileset>
- </copy>
-
- <!-- Create the XSL/FO temporary file. -->
-
- <java classname="com.icl.saxon.StyleSheet"
- maxmemory="${maxmem}"
- fork="true" dir="${basedir}">
- <classpath refid="lib.classpath"/>
- <arg value="-o" />
- <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
- <arg value="${basedir}/${lang}/master.xml"/>
- <arg value="${styles.dir}/${lang}/${db.style.fopdf}"/>
- </java>
-
-
-<!--
- <xslt out="${build.dir}/${lang}/pdf/docbook_fop.tmp"
- in="${basedir}/${lang}/master.xml"
- style="${styles.dir}/${lang}/${db.style.fopdf}">
- <xmlcatalog refid="docbook.catalog"/>
- </xslt>
--->
- <!-- Create a PDF from the XSL/FO. -->
- <java classname="org.apache.fop.apps.Fop"
- maxmemory="${maxmem}"
- fork="true" dir="${basedir}">
- <classpath refid="lib.classpath"/>
- <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
- <arg value="${build.dir}/${lang}/pdf/${pdf.name}"/>
- </java>
-
- <!-- Delete temporary files. -->
- <delete file="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
- <delete dir="${build.dir}/${lang}/pdf/images"/>
- </target>
-
- <target name="lang.dochtml" depends="tld2docbook">
- <mkdir dir="${build.dir}/${lang}/html/"/>
-
- <!-- Copy all the images to the output location -->
- <copy todir="${build.dir}/${lang}/html/images">
- <fileset dir="${basedir}/${lang}/images">
- <include name="**/*.png"/>
- <include name="**/*.gif"/>
- <include name="**/*.jpg"/>
- </fileset>
- </copy>
- <copy todir="${build.dir}/${lang}/html/css">
- <fileset dir="${styles.dir}/${lang}">
- <include name="**/*.css"/>
- </fileset>
- </copy>
-
- <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="${styles.dir}/${lang}/${db.style.html}"/>
- </java>
- </target>
-
- <target name="lang.dochtmlsingle" depends="tld2docbook">
- <mkdir dir="${build.dir}/${lang}/html_single/"/>
-
- <!-- Copy all the images to the output location -->
- <copy todir="${build.dir}/${lang}/html_single/images">
- <fileset dir="${basedir}/${lang}/images">
- <include name="**/*.png"/>
- <include name="**/*.gif"/>
- <include name="**/*.jpg"/>
- </fileset>
- </copy>
- <copy todir="${build.dir}/${lang}/html_single/css">
- <fileset dir="${styles.dir}/${lang}">
- <include name="**/*.css"/>
- </fileset>
- </copy>
-
- <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="${styles.dir}/${lang}/${db.style.htmlsingle}"/>
- </java>
- </target>
-
- <!-- I do not really like to have external dependency for HTML pages
- So, I am not using this task ... -->
- <target name="lang.htmlmisc" depends="tld2docbook">
- <!-- 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="${styles.dir}/${lang}">
- <include name="**/*.css"/>
- </fileset>
- </copy>
- </target>
-</project>
Copied: trunk/docs/xslt/support.properties (from rev 248,
trunk/docs/xslt/support/support.properties)
===================================================================
--- trunk/docs/xslt/support.properties (rev 0)
+++ trunk/docs/xslt/support.properties 2007-06-06 21:58:25 UTC (rev 251)
@@ -0,0 +1,2 @@
+#Wed Apr 11 15:30:36 EEST 2007
+ajax4jsf.location=${support.startdir}/../..
Copied: trunk/docs/xslt/support.xml (from rev 248, trunk/docs/xslt/support/support.xml)
===================================================================
--- trunk/docs/xslt/support.xml (rev 0)
+++ trunk/docs/xslt/support.xml 2007-06-06 21:58:25 UTC (rev 251)
@@ -0,0 +1,259 @@
+<project name="DocSupport" default="all.doc"
basedir=".">
+
+ <dirname property="support.startdir"
file="${ant.file.DocSupport}"/>
+
+ <property name="support.basedir"
value="${support.startdir}"/>
+
+ <property file="${support.startdir}/support.properties" />
+
+ <!-- Set build directories for all formats. -->
+ <property name="build.dir"
value="${basedir}/build"/>
+
+ <!-- Support files for build process. -->
+ <property name="support.dir"
value="${support.basedir}/support"/>
+ <property name="styles.dir"
value="${support.basedir}/src/main/resources"/>
+
+ <!-- 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"/>
+
+ <property name="maxmem" value="1024m" />
+
+ <xmlcatalog id="docbook.catalog">
+ <catalogpath
path="${support.basedir}/src/main/resources/support/docbook-dtd/catalog.xml"
/>
+ </xmlcatalog>
+
+
+ <!-- Classpath for the build tools. -->
+ <path id="lib.classpath">
+ <fileset dir="${support.dir}/lib">
+ <include name="**/saxon1.jar" />
+ </fileset>
+ <dirset dir="." />
+ <fileset dir="${support.dir}/lib">
+ <include name="**/*.jar"/>
+ <exclude name="**/saxon1.jar"/>
+ </fileset>
+ </path>
+
+ <!-- ################################################################## -->
+
+ <target name="all.doc" depends="clean">
+ <antcall target="lang.all"><param name="lang"
value="en"/></antcall>
+ </target>
+
+ <!-- ################################################################## -->
+
+ <target name="lang.all.bypass.check"
unless="lang.all.bypass.disabled">
+ <uptodate property="lang.all.bypass.on"
targetfile="${build.dir}/${lang}pdf/${pdf.name}">
+ <srcfiles dir="${support.basedir}" includes="**"/>
+ <srcfiles dir="${basedir}/${lang}" includes="**"/>
+ <srcfiles dir="${basedir}" includes="build.xml"/>
+ </uptodate>
+ </target>
+
+ <target name="lang.all.run" depends="lang.all.bypass.check,
lang.all.bypass.message" unless="lang.all.bypass.on">
+ <antcall target="clean"/>
+ <antcall target="lang.all"/>
+ </target>
+
+ <target name="lang.all.bypass.message"
if="lang.all.bypass.on">
+ <echo>Already uptodate: ${build.dir}/${lang}pdf/${pdf.name}</echo>
+ <echo>add -Dlang.all.bypass.disabled=true to force a rebuild</echo>
+ </target>
+
+ <!-- ################################################################## -->
+
+ <target name="lang.dochtml.bypass.check"
unless="lang.dochtml.bypass.disabled">
+ <uptodate property="lang.dochtml.bypass.on"
targetfile="${build.dir}/${lang}html/index.html">
+ <srcfiles dir="${support.basedir}" includes="**"/>
+ <srcfiles dir="${basedir}/${lang}" includes="**"/>
+ <srcfiles dir="${basedir}" includes="build.xml"/>
+ </uptodate>
+ </target>
+
+ <target name="lang.dochtml.run" depends="lang.dochtml.bypass.check,
lang.dochtml.bypass.message" unless="lang.dochtml.bypass.on">
+ <antcall target="clean.dochtml"/>
+ <antcall target="lang.dochtml"/>
+ <antcall target="lang.dochtmlsingle"/>
+ </target>
+
+ <target name="lang.dochtml.bypass.message"
if="lang.dochtml.bypass.on">
+ <echo>Already uptodate: ${build.dir}/${lang}html/index.html</echo>
+ <echo>add -Dlang.dochtml.bypass.disabled=true to force a
rebuild</echo>
+ </target>
+
+ <!-- ################################################################## -->
+
+ <target name="clean">
+ <!-- Delete build directory. -->
+ <delete dir="${build.dir}"/>
+ </target>
+
+ <target name="clean.dochtml">
+ <!-- Delete build directory for single html -->
+ <delete dir="${build.dir}/${lang}html"/>
+ <delete dir="${build.dir}/${lang}html_single"/>
+ </target>
+
+ <target name="collect-tld">
+ <mkdir dir="${basedir}/${lang}/target/generated" />
+ <copy flatten="yes"
todir="${basedir}/${lang}/target/generated">
+ <fileset dir="${ajax4jsf.location}">
+ <include name="framework/target/classes/META-INF/*.tld"/>
+ </fileset>
+
+ </copy>
+ <touch>
+ <fileset dir="${basedir}/${lang}/target/generated">
+ <include name="*.tld" />
+ </fileset>
+ </touch>
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: tld2docbook
+ - - - - - - - - - - - - - - - - - -->
+ <target name="tld2docbook" depends="collect-tld">
+ <!--Target must be started for every component in library till
+ the one tld file for all the components isn't present-->
+ <xslt classpathref="lib.classpath"
style="${styles.dir}/${lang}/f.xsl"
basedir="${basedir}/${lang}/target/generated"
destdir="${basedir}/${lang}/target/generated">
+ <include name="*.tld"/>
+
+ <mapper type="glob" from="*.tld" to="*.xml" />
+
+ <param name="lang"
expression="${basedir}/${lang}/src/main/docbook"/>
+ </xslt>
+ <!--End of the tld process-->
+ </target>
+
+
+
+ <!-- ################################################################## -->
+
+ <target name="lang.all">
+ <antcall target="lang.docpdf"/>
+ <antcall target="lang.dochtml"/>
+ <antcall target="lang.dochtmlsingle"/>
+ <!--
+ <antcall target="lang.htmlmisc"/>
+ -->
+ </target>
+
+ <target name="lang.docpdf" depends="tld2docbook">
+ <!-- Copy all the images to the output location,
+ will be removed later. -->
+ <copy todir="${build.dir}/${lang}/pdf/images">
+ <fileset dir="${basedir}/${lang}/src/main/resources/images">
+ <include name="**/*.png"/>
+ <include name="**/*.svg"/>
+ <include name="**/*.gif"/>
+ <include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+
+ <!-- Create the XSL/FO temporary file. -->
+
+ <java classname="com.icl.saxon.StyleSheet"
+ maxmemory="${maxmem}"
+ fork="true" dir="${basedir}">
+ <classpath refid="lib.classpath"/>
+ <arg value="-o" />
+ <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
+ <arg
value="${basedir}/${lang}/src/main/docbook/master.xml"/>
+ <arg value="${styles.dir}/${lang}/${db.style.fopdf}"/>
+ </java>
+
+
+<!--
+ <xslt out="${build.dir}/${lang}pdf/docbook_fop.tmp"
+ in="${basedir}/${lang}/src/main/docbook/master.xml"
+ style="${styles.dir}/${lang}/${db.style.fopdf}">
+ <xmlcatalog refid="docbook.catalog"/>
+ </xslt>
+-->
+ <!-- Create a PDF from the XSL/FO. -->
+ <java classname="org.apache.fop.apps.Fop"
+ maxmemory="${maxmem}"
+ fork="true" dir="${basedir}">
+ <classpath refid="lib.classpath"/>
+ <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
+ <arg value="${build.dir}/${lang}/pdf/${pdf.name}"/>
+ </java>
+
+ <!-- Delete temporary files. -->
+ <delete file="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
+ <delete dir="${build.dir}/${lang}/pdf/images"/>
+ </target>
+
+ <target name="lang.dochtml" depends="tld2docbook">
+ <mkdir dir="${build.dir}/${lang}/html/"/>
+
+ <!-- Copy all the images to the output location -->
+ <copy todir="${build.dir}/${lang}/html/images">
+ <fileset dir="${basedir}/${lang}/src/main/resources/images">
+ <include name="**/*.png"/>
+ <include name="**/*.gif"/>
+ <include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+ <copy todir="${build.dir}/${lang}/html/css">
+ <fileset dir="${styles.dir}/${lang}">
+ <include name="**/*.css"/>
+ </fileset>
+ </copy>
+
+ <java classname="com.icl.saxon.StyleSheet"
+ fork="true" dir="${build.dir}/${lang}/html">
+ <classpath refid="lib.classpath"/>
+ <arg
value="${basedir}/${lang}/src/main/docbook/master.xml"/>
+ <arg value="${styles.dir}/${lang}/${db.style.html}"/>
+ </java>
+ </target>
+
+ <target name="lang.dochtmlsingle" depends="tld2docbook">
+ <mkdir dir="${build.dir}/${lang}/html_single/"/>
+
+ <!-- Copy all the images to the output location -->
+ <copy todir="${build.dir}/${lang}/html_single/images">
+ <fileset dir="${basedir}/${lang}/src/main/resources/images">
+ <include name="**/*.png"/>
+ <include name="**/*.gif"/>
+ <include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+ <copy todir="${build.dir}/${lang}/html_single/css">
+ <fileset dir="${styles.dir}/${lang}">
+ <include name="**/*.css"/>
+ </fileset>
+ </copy>
+
+ <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}/src/main/docbook/master.xml"/>
+ <arg value="${styles.dir}/${lang}/${db.style.htmlsingle}"/>
+ </java>
+ </target>
+
+ <!-- I do not really like to have external dependency for HTML pages
+ So, I am not using this task ... -->
+ <target name="lang.htmlmisc" depends="tld2docbook">
+ <!-- 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="${styles.dir}/${lang}">
+ <include name="**/*.css"/>
+ </fileset>
+ </copy>
+ </target>
+</project>