diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2006-10-12 02:05:39 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2006-10-12 02:05:39 +0000 |
commit | ec177eb8b9b90cc07ba93d5954addbcf696d87ee (patch) | |
tree | 941f71eaf17ddc1ad69d32d7c4188da6b7f152ca | |
parent | 45e8269e4a0aa3de5611f7d6631cb9687609122d (diff) | |
download | vaadin-framework-ec177eb8b9b90cc07ba93d5954addbcf696d87ee.tar.gz vaadin-framework-ec177eb8b9b90cc07ba93d5954addbcf696d87ee.zip |
svn changeset:7/svn branch:toolkit
-rw-r--r-- | build/build.xml | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/build/build.xml b/build/build.xml index a7fea54d4d..ec2c2251c5 100644 --- a/build/build.xml +++ b/build/build.xml @@ -52,8 +52,8 @@ includes="*.txt"/> <!-- Create Output Directory Hierarchy --> - <mkdir dir="${output-dir}/docs/manual" /> - <mkdir dir="${output-dir}/docs/api" /> + <mkdir dir="${output-dir}/doc/manual" /> + <mkdir dir="${output-dir}/doc/api" /> <mkdir dir="${output-dir}/lib" /> <mkdir dir="${output-dir}/demo" /> @@ -86,7 +86,38 @@ <!-- Documentation- - - - - - - - - - - - - - - - - - - - - - - - - --> - <target name="docs" depends="init"> + <target name="docs" depends="javadoc,manual-pdf,manual-html"> + </target> + + <target name="javadoc" depends="init"> + </target> + + <target name="manual-pdf" depends="init"> + </target> + + <target name="manual-html" depends="init"> + <path id="docbook-xsl.classpath"> + <pathelement path="build/lib/docbook-xsl-xalan25.jar"/> + <pathelement path="build/lib/resolver.jar"/> + <pathelement path="build/lib/xincluder.jar"/> + </path> + <java classname="org.apache.xalan.xslt.Process" + failonerror="yes" fork="yes" maxmemory="764m"> + <arg value="-ENTITYRESOLVER"/> + <arg value="org.apache.xml.resolver.tools.CatalogResolver"/> + <arg value="-URIRESOLVER"/> + <arg value="org.apache.xml.resolver.tools.CatalogResolver"/> + <arg value="-IN"/> + <arg value="doc/manual/book.xml"/> + <arg value="-XSL"/> + <arg value="build/docbook-xsl/xhtml/docbook.xsl"/> + <arg value="-OUT"/> + <arg value="${output-dir}/doc/manual/index.html"/> + <jvmarg value="-Xbootclasspath/p:build/lib/xml-apis.jar:build/lib/xercesImpl.jar:build/lib/xalan.jar"/> + <classpath refid="docbook-xsl.classpath"/> + </java> + <!-- <xslt style="build/docbook-xsl/xhtml/docbook.xsl" basedir="doc/manual" + in="doc/manual/book.xml" destdir="${output-dir}/doc/manual"></xslt> --> </target> <!-- Examples - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |