OxygenXML 17.1 and DITA-OT 2.4.4
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 4
- Joined: Wed Sep 07, 2016 10:02 pm
OxygenXML 17.1 and DITA-OT 2.4.4
Hi,
I have been unsuccessful in locating information that will help me understand if I should be able to get DITA-OT 2.4.4 working with OxygenXML 17.1.
I have downloaded the 2.4.4 package and added to my Oxygen directory structure, and have set the Preferences > DITA version to Custom and pointed to the folder. After doing this, I ran the integrator on a few 2.4.4 transformation plugins and it failed.
I am unsure if the issue is coming from 17.1 support for 2.4.4, or if there may be an issue with the custom plugins, so think I should start by asking:
Is DITA-OT 2.4.4 supported with OxygenXML 17.1? If yes, are there any other steps I'd need to do to bring anything else up to date?
For reference, I think the relevant part of the error I got when running the integrator is:
".../Downloads/oxygen/frameworks/dita/dita-ot-2.4.4/integrator.xml:43: java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableSet"
Thanks in advance for any insight.
I have been unsuccessful in locating information that will help me understand if I should be able to get DITA-OT 2.4.4 working with OxygenXML 17.1.
I have downloaded the 2.4.4 package and added to my Oxygen directory structure, and have set the Preferences > DITA version to Custom and pointed to the folder. After doing this, I ran the integrator on a few 2.4.4 transformation plugins and it failed.
I am unsure if the issue is coming from 17.1 support for 2.4.4, or if there may be an issue with the custom plugins, so think I should start by asking:
Is DITA-OT 2.4.4 supported with OxygenXML 17.1? If yes, are there any other steps I'd need to do to bring anything else up to date?
For reference, I think the relevant part of the error I got when running the integrator is:
".../Downloads/oxygen/frameworks/dita/dita-ot-2.4.4/integrator.xml:43: java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableSet"
Thanks in advance for any insight.
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: OxygenXML 17.1 and DITA-OT 2.4.4
Hi,
Oxygen 17.1 was not tested with DITA OT 2.4.4 (because probably DITA OT 2.4.4 did not exist back then). So its default transformation scenarios (and integrator scenario) may not work by default but they can be made to work.
If you right click the "Run DITA OT Integrator" scenario and duplicate it, it has a "Libraries" button which you can press and you should add an extra library reference to ${configured.ditaot.dir.url}/lib/guava-19.0.jar.
You may possibly have similar problems running transformation scenarios, you can again duplicate the transformation scenario and in the "Advanced" tab click the "Libraries" button and feed more libraries to it.
Regards,
Radu
Oxygen 17.1 was not tested with DITA OT 2.4.4 (because probably DITA OT 2.4.4 did not exist back then). So its default transformation scenarios (and integrator scenario) may not work by default but they can be made to work.
If you right click the "Run DITA OT Integrator" scenario and duplicate it, it has a "Libraries" button which you can press and you should add an extra library reference to ${configured.ditaot.dir.url}/lib/guava-19.0.jar.
You may possibly have similar problems running transformation scenarios, you can again duplicate the transformation scenario and in the "Advanced" tab click the "Libraries" button and feed more libraries to it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 4
- Joined: Wed Sep 07, 2016 10:02 pm
Re: OxygenXML 17.1 and DITA-OT 2.4.4
Thanks Radu!
I did have to take some additional small hoop jumps to get it working, but your advice sent me on the correct path. In addition to the additional library reference you mentioned, I also had to drop the bundled commons-io jar files into the 2.4.4 custom directory, even though that directory had commons-io 2.5 included. I assume that may due to some setting I could not find relating to the commons-io package, but I could be wrong. I did also associate those libraries with the new transformations, but I'm not convinced that was required (took that step prior to adding the bundled commons-io to the 2.4.4 structure).
In any case, it seems to be working, so thank you very much. Thankfully, I plan to upgrade to 19 in the near future, and I don't think this issue will exist there.
I did have to take some additional small hoop jumps to get it working, but your advice sent me on the correct path. In addition to the additional library reference you mentioned, I also had to drop the bundled commons-io jar files into the 2.4.4 custom directory, even though that directory had commons-io 2.5 included. I assume that may due to some setting I could not find relating to the commons-io package, but I could be wrong. I did also associate those libraries with the new transformations, but I'm not convinced that was required (took that step prior to adding the bundled commons-io to the 2.4.4 structure).
In any case, it seems to be working, so thank you very much. Thankfully, I plan to upgrade to 19 in the near future, and I don't think this issue will exist there.
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: OxygenXML 17.1 and DITA-OT 2.4.4
Hi,
Basically whatever library is in the libraries list will be used when the DITA OT ANT process is started. So probably you did need to copy your old commons-io library but to refer to the new one in the libraries list.
Of course Oxygen 19.1 will not have this problem anymore.
Regards,
Radu
Basically whatever library is in the libraries list will be used when the DITA OT ANT process is started. So probably you did need to copy your old commons-io library but to refer to the new one in the libraries list.
Of course Oxygen 19.1 will not have this problem anymore.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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