Webhelp Responsive - ant build error
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 54
- Joined: Mon Jun 27, 2011 10:51 pm
Webhelp Responsive - ant build error
I can build Webhelp Responsive from OxygenXML Editor and with the dita command. But when I try running it from a simulation of our Jenkins engine, I get the following fatal error:
Any hints on what I'm overlooking?
Code: Select all
[templatetask] Implementation of JAXB-API has not been found on module path or classpath.
-
- Posts: 9437
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Webhelp Responsive - ant build error
Hi,
You did not integrate all the requited plugins in the DITA OT you are using with Jenkins, for example there is a plugin called "com.oxygenxml.common" which is probably missing on your side.
You can get all necessary plugins in a zip from here:
https://www.oxygenxml.com/xml_webhelp/d ... bhelp.html
You must also buy a separate WebHelp license for running the publishing from the command line:
https://www.oxygenxml.com/xml_webhelp/b ... bhelp.html
If you want a trial license key to test things out you can contact us (support@oxygenxml.com) and we can generate one for you.
If things will still not work for you please also try to use on the server side Java 1.8 for publishing instead of the newer Java version that you are using right now. I also encountered some problems using a newer version of Java to publish and we'll investigate this more on our side.
Regards,
Radu
You did not integrate all the requited plugins in the DITA OT you are using with Jenkins, for example there is a plugin called "com.oxygenxml.common" which is probably missing on your side.
You can get all necessary plugins in a zip from here:
https://www.oxygenxml.com/xml_webhelp/d ... bhelp.html
You must also buy a separate WebHelp license for running the publishing from the command line:
https://www.oxygenxml.com/xml_webhelp/b ... bhelp.html
If you want a trial license key to test things out you can contact us (support@oxygenxml.com) and we can generate one for you.
If things will still not work for you please also try to use on the server side Java 1.8 for publishing instead of the newer Java version that you are using right now. I also encountered some problems using a newer version of Java to publish and we'll investigate this more on our side.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 54
- Joined: Mon Jun 27, 2011 10:51 pm
Re: Webhelp Responsive - ant build error
Hi Radu,
I apparently have all the required plugins in my dita-ot-3.2.1 directory
and I appear to have a working trial licence.
As previously stated, I can successfully build my ditamap using the dita command after installing WebHelp as documented on your site. Also, I'm mimicking Jenkins, using a bash script that was derived (years ago) from the Ant scripts provided with the DITA OT.
But apparently I've overlooked something because my build is failing to find a needed jar file.
Thanks
I apparently have all the required plugins in my dita-ot-3.2.1 directory
Code: Select all
macgrif:dita-documentation$ ls tools/dita-ot-3.2.1/plugins/
com.oxygenxml.common
com.oxygenxml.highlight
com.oxygenxml.html.custom
com.oxygenxml.media
com.oxygenxml.pdf.css
com.oxygenxml.webhelp.classic
com.oxygenxml.webhelp.common
com.oxygenxml.webhelp.responsive
...
As previously stated, I can successfully build my ditamap using the dita command after installing WebHelp as documented on your site. Also, I'm mimicking Jenkins, using a bash script that was derived (years ago) from the Ant scripts provided with the DITA OT.
But apparently I've overlooked something because my build is failing to find a needed jar file.
Thanks
-
- Posts: 9437
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Webhelp Responsive - ant build error
Hi,
What version of the WebHelp plugins are you using?
The "com.oxygenxml.common/lib" folder should have by default 3 libraries with the pattern "jaxb-*.jar". Also the "com.oxygenxml.common/plugin.xml" should refer to those libraries.
Also can you try to run the publishing using Java 1.8?
Regards,
Radu
What version of the WebHelp plugins are you using?
The "com.oxygenxml.common/lib" folder should have by default 3 libraries with the pattern "jaxb-*.jar". Also the "com.oxygenxml.common/plugin.xml" should refer to those libraries.
Also can you try to run the publishing using Java 1.8?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 54
- Joined: Mon Jun 27, 2011 10:51 pm
Re: Webhelp Responsive - ant build error
Hi Radu,
We're running oxygen-webhelp-dot-3.x.zip with dita-ot-3.2.1.zip. The three jaxb-*.jar files are where they're supposed to be.
I tried Java 1.8 and a bit got further. This time my build expired at whr-dita-inner-topics with a net.sf.saxon.s9api.SaxonApiException ...
Meanwhile, my ditamap builds just fine with tools/dita-ot-3.2.1/bin/dita using java version "11.0.1" 2018-10-16 LTS. It would appear my Ant build is not pulling in the correct plugins but I don't see where I'm going wrong.
We're running oxygen-webhelp-dot-3.x.zip with dita-ot-3.2.1.zip. The three jaxb-*.jar files are where they're supposed to be.
I tried Java 1.8 and a bit got further. This time my build expired at whr-dita-inner-topics with a net.sf.saxon.s9api.SaxonApiException ...
Meanwhile, my ditamap builds just fine with tools/dita-ot-3.2.1/bin/dita using java version "11.0.1" 2018-10-16 LTS. It would appear my Ant build is not pulling in the correct plugins but I don't see where I'm going wrong.
-
- Posts: 9437
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Webhelp Responsive - ant build error
Hi,
The "dita" command is the recommended way to run the DITA OT publishing because it loads the necessary libraries in the proper way.
I would suggest you call the "dita" executable directly from the ANT build file if you want to keep your existing ANT scripts, there is a section "Call the dita command from an Ant build" containing a small example here:
https://www.dita-ot.org/dev/topics/migr ... -dita.html
Regards,
Radu
The "dita" command is the recommended way to run the DITA OT publishing because it loads the necessary libraries in the proper way.
I would suggest you call the "dita" executable directly from the ANT build file if you want to keep your existing ANT scripts, there is a section "Call the dita command from an Ant build" containing a small example here:
https://www.dita-ot.org/dev/topics/migr ... -dita.html
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)
- ↳ 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