diff options
author | Christian Geisert <chrisg@apache.org> | 2002-03-02 17:20:24 +0000 |
---|---|---|
committer | Christian Geisert <chrisg@apache.org> | 2002-03-02 17:20:24 +0000 |
commit | 10781427479caca77c2a1bae557e8746218b1916 (patch) | |
tree | bb7285207a14d7c1a33d7e9d8148329f46f8678d /build.xml | |
parent | 8972c2e7075199cedabe5f401ffa1a191a7b6b2b (diff) | |
download | xmlgraphics-fop-10781427479caca77c2a1bae557e8746218b1916.tar.gz xmlgraphics-fop-10781427479caca77c2a1bae557e8746218b1916.zip |
added htmldoc-target (from main branch to build docs for release)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@194681 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -165,6 +165,14 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <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 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <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"/> @@ -640,6 +651,21 @@ Sometimes ant gives out this warnings, but the build is finished without any pro /> </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 --> <!-- =================================================================== --> |