Using external DITA-OT requires empty "lib/saxon" folder

Post here questions and problems related to editing and publishing DITA content.
Frank Ralf
Posts: 460
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Using external DITA-OT requires empty "lib/saxon" folder

Post 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
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Using external DITA-OT requires empty "lib/saxon" folder

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 460
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: Using external DITA-OT requires empty "lib/saxon" folder

Post 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
Frank Ralf
parson AG
www.parson-europe.com
Frank Ralf
Posts: 460
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: Using external DITA-OT requires empty "lib/saxon" folder

Post 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
Frank Ralf
parson AG
www.parson-europe.com
Post Reply