[jboss-cvs] JBossRemoting/docs/guide ...
Ron Sigal
ron_sigal at yahoo.com
Sun Jul 30 03:01:22 EDT 2006
User: rsigal
Date: 06/07/30 03:01:22
Modified: docs/guide build.xml
Log:
JBREM-558: Added a new target, lang.dochtml.one, which creates html from a single chapter, whichever is currently imported by oneChapter.xml.
Revision Changes Path
1.2 +51 -0 JBossRemoting/docs/guide/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/docs/guide/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- build.xml 6 Oct 2005 03:27:33 -0000 1.1
+++ build.xml 30 Jul 2006 07:01:22 -0000 1.2
@@ -4,6 +4,7 @@
<!--property name="build.dir" value="${basedir}/../../output/docs/guide"/-->
<property name="pdf.name" value="JBoss_Remoting_Guide.pdf"/>
+ <property name="lang" value="en"/>
<import file="support/support.xml"/>
<target name="all.doc" depends="clean">
@@ -19,4 +20,54 @@
</target>
-->
+ <target name="lang.dochtml.one">
+ <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}/oneChapter.xml"/>
+ <arg value="${styles.dir}/${lang}/${db.style.html}"/>
+ </java>
+ </target>
+
+ <target name="justhtml">
+ <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.save"/>
+ <arg value="${styles.dir}/${lang}/${db.style.html}"/>
+ </java>
+ </target>
+
</project>
More information about the jboss-cvs-commits
mailing list