Page 1 of 1
Using external DITA-OT requires empty "lib/saxon" folder
Posted: Thu May 08, 2014 6:27 pm
by Frank Ralf
Hi,
When using an external DITA-OT with oXygen according to the instructions at
http://www.oxygenxml.com/doc/ug-editor/ ... ta-ot.html, I get the following error message:
Code: Select all
C:\DITA-OT\DITA-OT1.8.4\lib\saxon does not exist.
Adding that (empty) folder solves the problem. According to
https://github.com/dita-ot/dita-ot/issues/498 this problem should have been solved since OT 1.5.1.
Frank
Re: Using external DITA-OT requires empty "lib/saxon" folder
Posted: Fri May 09, 2014 8:57 am
by Radu
Hi Frank,
I reproduced this, the place in the build file where it crashes:
Code: Select all
C:\Users\radu_coravu\Desktop\xslthl\DITA-OT1.8.4\build.xml:44: The following error occurred while executing this line:
C:\Users\radu_coravu\Desktop\xslthl\DITA-OT1.8.4\plugins\org.dita.pdf2\build.xml:150: The following error occurred while executing this line:
C:\Users\radu_coravu\Desktop\xslthl\DITA-OT1.8.4\plugins\org.dita.pdf2\build.xml:164: C:\Users\radu_coravu\Desktop\xslthl\DITA-OT1.8.4\lib\saxon does not exist.
The classpath defined for the PDF publishing contains at some point:
Code: Select all
<fileset dir="${lib.dir}/saxon">
<include name="**/*.jar"></include>
</fileset>
which triggers an error by default if the folder is not found.
The <fileset> ANT task:
http://ant.apache.org/manual/Types/fileset.html
has an attribute which could be used called
erroronmissingdir.
If nobody answers on the already closed GITHUB bug maybe you can add a new one.
Also, you can either create that folder manually or download and use the DITA OT full easy install distribution.
Regards,
Radu
Re: Using external DITA-OT requires empty "lib/saxon" folder
Posted: Fri May 09, 2014 12:04 pm
by Frank Ralf
Thanks for the quick reply, Radu. Actually, I did use the "full easy install". I will test this again on another machine and open a bug on GitHub if necessary.
Kind regards,
Frank
Re: Using external DITA-OT requires empty "lib/saxon" folder
Posted: Fri May 09, 2014 5:12 pm
by Frank Ralf
Just for clarification: I used the "standard" release and not the "full easy install" release, which actually contains a lib/saxon folder with all the required .jar files.
Frank