You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ch...@apache.org on 2002/03/02 18:20:25 UTC
cvs commit: xml-fop build.xml
chrisg 02/03/02 09:20:25
Modified: . Tag: fop-0_20_2-maintain build.xml
Log:
added htmldoc-target (from main branch to build docs for release)
Revision Changes Path
No revision
No revision
1.44.2.7 +26 -0 xml-fop/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-fop/build.xml,v
retrieving revision 1.44.2.6
retrieving revision 1.44.2.7
diff -u -r1.44.2.6 -r1.44.2.7
--- build.xml 1 Mar 2002 12:44:39 -0000 1.44.2.6
+++ build.xml 2 Mar 2002 17:20:24 -0000 1.44.2.7
@@ -165,6 +165,14 @@
<include name="fop.sh"/>
</fileset>
+ <path id="libs-build-classpath">
+ <fileset dir="lib">
+ <include name="stylebook*.jar"/>
+ <include name="xalan*.jar"/>
+ <include name="xerces*.jar"/>
+ </fileset>
+ </path>
+
<!-- =================================================================== -->
<!-- Initialization target -->
<!-- =================================================================== -->
@@ -193,6 +201,9 @@
<property name="conf.dir" value="./conf"/>
<property name="packages" value="org.apache.fop.*"/>
+ <property name="docs" value="docs/html-docs"/>
+ <property name="xdocs" value="docs/xml-docs"/>
+ <property name="skins" value="docs/xml-docs/skins/xml.apache.org/"/>
<property name="doc.generator" value="org.apache.stylebook.StyleBook"/>
<property name="doc.generator.package" value="${lib.dir}/stylebook-1.0-b2.jar"/>
@@ -639,6 +650,21 @@
bottom="Copyright © ${year} Apache Software Foundation. All Rights Reserved."
/>
</target>
+
+ <target name="htmldoc" depends="prepare-src">
+ <copy file="${xdocs}/fop.xml"
+ tofile="${xdocs}/book.xml"
+ filtering="on"/>
+ <java classname="${doc.generator}" fork="yes">
+ <classpath refid="libs-build-classpath"/>
+ <arg line="targetDirectory=${docs} ${xdocs}/book.xml ${skins}"/>
+ </java>
+ <java classname="${doc.generator}" fork="yes">
+ <classpath refid="libs-build-classpath"/>
+ <arg line="targetDirectory=${docs}/design/ docs/design/book.xml ${skins}"/>
+ </java>
+ </target>
+
<!-- =================================================================== -->
<!-- Creates the distribution -->
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org