Patch to build-docbook.xml to support FOP 0.94
----------------------------------------------
Key: DBF-3
URL: https://issues.apache.org/jira/browse/DBF-3
Project: DocBook Framework
Issue Type: Improvement
Affects Versions: 1.1
Environment: Win XP 2000 SP2, Cygwin, Java 1.6.0_02-b06, Apache Ant
1.7.0
docbook-xml-4.5, docbook-xsl-snapshot
Reporter: Fred Muhlenberg
The following is a patch to the build-docbook.xml to support PDF generation
using Apache FOP 0.94
plato% svn diff build-docbook.xml
Index: build-docbook.xml
===================================================================
--- build-docbook.xml (revision 575675)
+++ build-docbook.xml (working copy)
@@ -265,8 +265,10 @@
<java classname="org.apache.fop.cli.Main" fork="true" maxmemory="256m"
dir="${basedir}" classpathref="dbf.classpath">
- <arg value="${pdf.target.file}.xml"/>
- <arg value="${target.dir}/${docbook.dir}/pdf/${docbook.file}.pdf"/>
+ <arg value="-fo"/>
+ <arg value="${pdf.target.file}.xml"/>
+ <arg value="-pdf"/>
+ <arg value="${target.dir}/${docbook.dir}/pdf/${docbook.file}.pdf"/>
</java>
</target>
Additional steps:
1) Delete lib/fop-0.93.jar
2) Add fop-0.94.jar to lib
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]