A bit frustrated with not being able to find any problems, I downloaded the xerces gump files, and the 'ant ref.pdf' build worked, although giving output, it did have a couple warnings/Errors that didn't seem to be fatal; to the build.

http://brutus.apache.org/gump/public-jars/xml-xerces2/jars/xercesImpl-gump-23032005.jar
http://brutus.apache.org/gump/public-jars/xml-xerces2/jars/xml-parser-gump-23032005.jar


The build spit out a couple different errors, which might make a bit more sense:


[xslt] file:/home/srh/src/derby-d/docs/trunk/DITA-OT1.0/xsl/common/output-message.xsl:43:16: Warning! ------------------------------------------------------------------
[xslt] IDXS018E Error: (File = /home/srh/src/derby-d/docs/trunk/src/ref/rrefsqlj1083019.dita, Element = xref:1)
[xslt] Unable to retrieve link text from target:
[xslt] #rrefsqlj1083019/sqlj30695. Make sure the link type matches
[xslt] the target, the ids for topic and element are correct, and that the
[xslt] target has a title. If the target is not accessible at build time,
[xslt] or does not have a title, give the link text as content of the xref element.
[xslt] file:/home/srh/src/derby-d/docs/trunk/DITA-OT1.0/xsl/common/output-message.xsl:43:16: Warning! ------------------------------------------------------------------
[xslt] IDXS018E Error: (File = /home/srh/src/derby-d/docs/trunk/src/ref/rrefsqlj1083019.dita, Element = xref:3)
[xslt] Unable to retrieve link text from target:
[xslt] #rrefsqlj1083019/sqlj20756. Make sure the link type matches
[xslt] the target, the ids for topic and element are correct, and that the
[xslt] target has a title. If the target is not accessible at build time,
[xslt] or does not have a title, give the link text as content of the xref element.
[xslt] Processing /home/srh/src/derby-d/docs/trunk/temp/rrefsqlj11277.dita to /home/srh/src/derby-d/docs/trunk/temp/rrefsqlj11277.dita.pull




scott hutinger wrote:

Also, with 'ant html':

derby-d/docs/trunk/temp/rrefdbmlimits.dita.pull
[xslt] Processing /home/srh/src/derby-d/docs/trunk/temp/rrefdeclaretemptable.dita to /home/srh/src/derby-d/docs/trunk/temp/rrefdeclaretemptable.dita.pull
[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:51: The following error occurred while executing this line:
/home/srh/src/derby-d/docs/trunk/build.xml:72: 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



scott hutinger wrote:

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