Build success on command line, fails in Oxygen 18.1
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 75
- Joined: Mon Sep 28, 2009 8:10 am
Build success on command line, fails in Oxygen 18.1
Using DITA OT 3.2.1, running HTML-based output (Suitehelp). This command line runs successfully:
bin\dita -f suitehelp -i "C:\path\to\mymap.ditamap" -v
But when I try to run the same OT, transtype and ditamap in Oxygen v.18.1, the build fails with the errors below near the end of the build.
I created the transformation scenario by clicking New in the dialog, DITA OT Transformation, then HTML5, and then I set it up with my OT and transtype.
When I run the same setup in Oxygen 21.1, it works fine.
Thanks,
Mark
dita.map.suitehelp.index:
file:/C:/dita-ot-3.2.1/plugins/com.suite-sol.suitehelp/build_dita2suitehelp.xml:362:110: [DOTA014W][WARN] Attribute @if is deprecated. Use attribute @if:set instead.
[pipeline] java.lang.ClassNotFoundException: org.dita.dost.writer.EclipseIndexWriter
[pipeline] at java.net.URLClassLoader.findClass(Unknown Source)
[pipeline] at java.lang.ClassLoader.loadClass(Unknown Source)
[pipeline] at java.lang.ClassLoader.loadClass(Unknown Source)
[pipeline] at java.lang.Class.forName0(Native Method)
[pipeline] at java.lang.Class.forName(Unknown Source)
[pipeline] at org.dita.dost.index.IndexTermCollection.outputTerms(IndexTermCollection.java:165)
[pipeline] at org.dita.dost.module.IndexTermExtractModule.execute(IndexTermExtractModule.java:77)
[pipeline] at org.dita.dost.ant.ExtensibleAntInvoker.execute(ExtensibleAntInvoker.java:169)
[pipeline] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[pipeline] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
[pipeline] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[pipeline] at java.lang.reflect.Method.invoke(Unknown Source)
[pipeline] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[pipeline] at org.apache.tools.ant.Task.perform(Task.java:350)
[pipeline] at org.apache.tools.ant.Target.execute(Target.java:448)
[pipeline] at org.apache.tools.ant.Target.performTasks(Target.java:469)
[pipeline] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
... (deleted part of java unwind)
BUILD FAILED
C:\dita-ot-3.2.1\build.xml:46: The following error occurred while executing this line:
C:\dita-ot-3.2.1\plugins\com.suite-sol.suitehelp\build_dita2suitehelp.xml:362: java.lang.NullPointerException
at org.dita.dost.index.IndexTermCollection.outputTerms(IndexTermCollection.java:196)
at org.dita.dost.module.IndexTermExtractModule.execute(IndexTermExtractModule.java:77)
at org.dita.dost.ant.ExtensibleAntInvoker.execute(ExtensibleAntInvoker.java:169)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:448)
... (deleted part)
bin\dita -f suitehelp -i "C:\path\to\mymap.ditamap" -v
But when I try to run the same OT, transtype and ditamap in Oxygen v.18.1, the build fails with the errors below near the end of the build.
I created the transformation scenario by clicking New in the dialog, DITA OT Transformation, then HTML5, and then I set it up with my OT and transtype.
When I run the same setup in Oxygen 21.1, it works fine.
Thanks,
Mark
dita.map.suitehelp.index:
file:/C:/dita-ot-3.2.1/plugins/com.suite-sol.suitehelp/build_dita2suitehelp.xml:362:110: [DOTA014W][WARN] Attribute @if is deprecated. Use attribute @if:set instead.
[pipeline] java.lang.ClassNotFoundException: org.dita.dost.writer.EclipseIndexWriter
[pipeline] at java.net.URLClassLoader.findClass(Unknown Source)
[pipeline] at java.lang.ClassLoader.loadClass(Unknown Source)
[pipeline] at java.lang.ClassLoader.loadClass(Unknown Source)
[pipeline] at java.lang.Class.forName0(Native Method)
[pipeline] at java.lang.Class.forName(Unknown Source)
[pipeline] at org.dita.dost.index.IndexTermCollection.outputTerms(IndexTermCollection.java:165)
[pipeline] at org.dita.dost.module.IndexTermExtractModule.execute(IndexTermExtractModule.java:77)
[pipeline] at org.dita.dost.ant.ExtensibleAntInvoker.execute(ExtensibleAntInvoker.java:169)
[pipeline] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[pipeline] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
[pipeline] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[pipeline] at java.lang.reflect.Method.invoke(Unknown Source)
[pipeline] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[pipeline] at org.apache.tools.ant.Task.perform(Task.java:350)
[pipeline] at org.apache.tools.ant.Target.execute(Target.java:448)
[pipeline] at org.apache.tools.ant.Target.performTasks(Target.java:469)
[pipeline] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
... (deleted part of java unwind)
BUILD FAILED
C:\dita-ot-3.2.1\build.xml:46: The following error occurred while executing this line:
C:\dita-ot-3.2.1\plugins\com.suite-sol.suitehelp\build_dita2suitehelp.xml:362: java.lang.NullPointerException
at org.dita.dost.index.IndexTermCollection.outputTerms(IndexTermCollection.java:196)
at org.dita.dost.module.IndexTermExtractModule.execute(IndexTermExtractModule.java:77)
at org.dita.dost.ant.ExtensibleAntInvoker.execute(ExtensibleAntInvoker.java:169)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:448)
... (deleted part)
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Build success on command line, fails in Oxygen 18.1
Hi Mark,
Oxygen 21.1 has more advanced mechanisms for detecting the libraries used for publishing.
You probably need to edit the transformation scenario and in the "Advanced" tab click the "Libraries" button, then use the "Add" button to browse and add a reference to the library:
DITA-OT3.2.1\plugins\org.dita.eclipsehelp\lib\eclipsehelp.jar
Regards,
Radu
Oxygen 21.1 has more advanced mechanisms for detecting the libraries used for publishing.
You probably need to edit the transformation scenario and in the "Advanced" tab click the "Libraries" button, then use the "Add" button to browse and add a reference to the library:
DITA-OT3.2.1\plugins\org.dita.eclipsehelp\lib\eclipsehelp.jar
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