I tried the ant build "ant pdf", but more than likely didn't follow all the directions completely. I didn't add any files that might be newer (Jeffs). More than likely I am missing something in CLASSPATH, and this problem might help someone in the future. I did come up with this:

[xslt] Processing /home/srh/src/derby-d/docs/trunk/temp/rrefdmdfns1.dita to /home/srh/src/derby-d/docs/trunk/temp/rrefdmdfns1.dita.pull
[xslt] Processing /home/srh/src/derby-d/docs/trunk/temp/rrefdmrs.dita to /home/srh/src/derby-d/docs/trunk/temp/rrefdmrs.dita.pull
[xslt] home/srh/src/derby-d/docs/trunk/temp/rrefdmrs.dita:14:32: Fatal Error! XML document structures must start and end within the same entity.
[xslt] Failed to process /home/srh/src/derby-d/docs/trunk/temp/rrefdmrs.dita


BUILD FAILED
/home/srh/src/derby-d/docs/trunk/build.xml:121: The following error occurred while executing this line:
/home/srh/src/derby-d/docs/trunk/build.xml:137: The following error occurred while executing this line:
/home/srh/src/derby-d/docs/trunk/DITA-OT1.0/pretargets.xml:120: Fatal error during transformation
Total time: 5 minutes 59 seconds


temp/rrefdmrs.dita:
13:</refbody>
14:</reference><?Pub *0000000832?>

/DITA-OT1.0/pretargets.xml:
<target name="topicpull" depends="debug-filter">
<xslt processor="trax"
basedir="${dita.temp.dir}"
destdir="${dita.temp.dir}"
includes="${fullditatopc.list}"
extension="${dita.extname}.pull"
120: style="xsl/preprocess/topicpull.xsl">
<param name="DITAEXT" expression="${dita.extname}" if="dita.extname"/>
</xslt>


Jeff Levitt wrote:

OK, so Andrew created a new build.xml file for ant
that we can use for building docs from the DITA
source.  His ant file is more specific to our tasks,
and is much simpler to use.  He checked it in to svn
with the DITA files, and he also added the fop jar
files.  So now all you need to do to build is grab the
DITA trunk directory using svn, and then install the
DITA toolkit within the trunk!  If you set your
classpath correctly to include Ant and Fop, everything
should work!  There is no need for saxon, since Ant
includes Xalan.

So to make things easy, I went ahead and modified the
site to remove the section on DITA from the Manuals
page.  I then created a new file called dita.xml that
provides instructions for creating output in PDF and
HTML from the DITA.  I am including them with this
note, the changes affect site.xml, manuals/index.xml,
and adds manual/dita.xml.

Jean, if no one has any objections, if you put these
files up it should make things VERY simple.

Thanks!
Jeff

<snip>



Reply via email to