DITA-OT plug-in integration
Posted: Thu Aug 10, 2017 4:34 am
I am developing a custom DITA-OT PDF plugin that launches from an ANT build file. It is working, using an external DITA-OT installation. Now I would like to launch it from within Oxygen XML. I have tried using the ANT transformation scenario, both with the included DITA-OT installation that comes with Oxygen and the external DITA-OT directory. I have tried playing with the JRE and ANT directories in the options tab for the ANT transform. But I am getting errors regardless of what I try.
Below is the error log from Oxygen:
Executing:
"c:\program files (x86)\oxygen xml editor 19\jre/bin/java" -Xmx256m -classpath "C:\dita-ot-2.4.6/lib/ant-launcher.jar" "-Dant.home=C:\dita-ot-2.4.6" org.apache.tools.ant.launch.Launcher -f "QSR-Drum-Synth-Manual.ditamap" "-Dwebhelp.trial.license=no"
Buildfile: C:\Users\David\Documents\QSR-Drum-Synth\QSR-Drum-Synth-Manual.ditamap
C:\Users\David\Documents\QSR-Drum-Synth\learningmap.dtd could not be found
BUILD FAILED
java.io.FileNotFoundException: C:\Users\David\Documents\QSR-Drum-Synth\learningmap.dtd (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)...
Total time: 0 seconds
The process finished with exit code: 1
Below is the error log from Oxygen:
Executing:
"c:\program files (x86)\oxygen xml editor 19\jre/bin/java" -Xmx256m -classpath "C:\dita-ot-2.4.6/lib/ant-launcher.jar" "-Dant.home=C:\dita-ot-2.4.6" org.apache.tools.ant.launch.Launcher -f "QSR-Drum-Synth-Manual.ditamap" "-Dwebhelp.trial.license=no"
Buildfile: C:\Users\David\Documents\QSR-Drum-Synth\QSR-Drum-Synth-Manual.ditamap
C:\Users\David\Documents\QSR-Drum-Synth\learningmap.dtd could not be found
BUILD FAILED
java.io.FileNotFoundException: C:\Users\David\Documents\QSR-Drum-Synth\learningmap.dtd (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)...
Total time: 0 seconds
The process finished with exit code: 1