aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMarko Grönroos <magi@iki.fi>2007-08-30 16:36:38 +0000
committerMarko Grönroos <magi@iki.fi>2007-08-30 16:36:38 +0000
commitaf824f783c571c28384b71e9807dc5beb428fbed (patch)
treec8a4a0f7eca8c5045898970f08807128bc7ad3a3 /build
parent2d7a8e84a6e6b2d09981d5c3ff272375ff78e911 (diff)
downloadvaadin-framework-af824f783c571c28384b71e9807dc5beb428fbed.tar.gz
vaadin-framework-af824f783c571c28384b71e9807dc5beb428fbed.zip
Updated guide. Stuff for building PDF manual. Fixes in figures for PDF. Some updates for Toolkit 5.
svn changeset:2161/svn branch:trunk
Diffstat (limited to 'build')
-rw-r--r--build/build.xml31
1 files changed, 30 insertions, 1 deletions
diff --git a/build/build.xml b/build/build.xml
index 14a3c1e0f6..a406f11f5a 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -364,8 +364,37 @@
</javadoc>
</target>
+ <target name="manual-fo" depends="init">
+ <path id="docbook-xsl.classpath">
+ <pathelement path="build/lib/fserializer.jar" />
+ <pathelement path="build/lib/xalan.jar" />
+ <pathelement path="build/lib/xercesImpl.jar" />
+ <pathelement path="build/lib/xml-apis.jar" />
+ </path>
+ <java classname="org.apache.xalan.xslt.Process" failonerror="yes" fork="yes" maxmemory="1300m">
+ <arg value="-in" />
+ <arg value="doc/manual/book.xml" />
+ <arg value="-xsl" />
+ <arg value="build/docbook/conf/custom-fo-docbook.xsl" />
+ <arg value="-out" />
+ <arg value="${output-dir}/doc/manual/book.fo" />
+ <arg value="-param" />
+ <arg value="section.autolabel" />
+ <arg value="1" />
+ <arg value="-param" />
+ <arg value="section.label.includes.component.label" />
+ <arg value="1" />
+ <arg value="-param" />
+ <arg value="section.autolabel.max.depth" />
+ <arg value="2" />
+ <classpath refid="docbook-xsl.classpath" />
+ </java>
+ </target>
+
<target name="manual-pdf" depends="init">
- <!-- TODO Include XEP-based FO building in future -->
+ <!-- property name="xep" location="/opt/RenderX/XEP/xep"/ -->
+ <exec executable="/opt/RenderX/XEP/xep" input="${output-dir}/doc/manual/book.fo" output="${output-dir}/doc/manual/book.pdf" error="xep.err">
+ </exec>
</target>
<target name="manual-html" depends="init">