DITA-OT plug-in integration
Oxygen general issues.
-
- Posts: 6
- Joined: Wed Mar 22, 2017 10:46 pm
DITA-OT plug-in integration
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
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITA-OT plug-in integration
Hi,
Looking at the command line Oxygen executes you created an ANT transformation scenario in Oxygen but as the value of the "Build File" path you set the path to the main DITA Map instead of setting the reference to the ANT build file.
I think that instead of a plain ANT transformation scenario you should create a transformation scenario of type "DITA OT". In the "Parameters" list you can define the "dita.dir" parameter and have it point to the DITA OT used for publishing.
Regards,
Radu
Looking at the command line Oxygen executes you created an ANT transformation scenario in Oxygen but as the value of the "Build File" path you set the path to the main DITA Map instead of setting the reference to the ANT build file.
I think that instead of a plain ANT transformation scenario you should create a transformation scenario of type "DITA OT". In the "Parameters" list you can define the "dita.dir" parameter and have it point to the DITA OT used for publishing.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service