Integrator fails using DITA-OT 2.3.1
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 156
- Joined: Sat Feb 26, 2005 12:09 am
- Location: USA
- Contact:
Integrator fails using DITA-OT 2.3.1
Post by shudson310 »
I cannot integrate my DITA-OT plugins using the latest DITA-OT release (v2.3.1):
I have a map with these definitions:
In m_elements.ditamap, I have:
Which appears to be one of the key(s) that is not getting resolved.
I'm running into problems with v2.2.5 where keys are not resolving. With v2.2.5, I get:Executing:
"c:\program files\oxygen xml editor 17\jre/bin/java" "-Dhttp.proxySet=true" "-Dhttp.proxyHost=ipv4.169.143.0.105.webdefence.global.blackspider.com" "-Dhttps.proxyHost=ipv4.169.143.0.105.webdefence.global.blackspider.com" "-Dhttp.proxyPort=80" "-Dhttps.proxyPort=80" -Xmx256m -classpath "C:\Program Files\Oxygen XML Editor 17\tools\ant/lib/ant-launcher.jar" "-Dant.home=C:\Program Files\Oxygen XML Editor 17\tools\ant" org.apache.tools.ant.launch.Launcher -lib "C:\SVN\ptd\content\trunk\dita-ot-2.3.1\lib\commons-io.jar" -lib "C:\Program Files\Oxygen XML Editor 17\frameworks\dita\DITA-OT2.x\lib\commons-io-2.4.jar" -f "C:\SVN\ptd\content\trunk\dita-ot-2.3.1/integrator.xml" "-Dstrict=true" "-Dwebhelp.trial.license=no"
Buildfile: C:\SVN\ptd\content\trunk\dita-ot-2.3.1\integrator.xml
strict:
integrate:
BUILD FAILED
C:\SVN\ptd\content\trunk\dita-ot-2.3.1\integrator.xml:66: The following error occurred while executing this line:
C:\SVN\ptd\content\trunk\dita-ot-2.3.1\integrator.xml:44: java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableSet
Thought I'd try v2.3 to see if it fixed key resolution.[DOTX031E]: The file ../contentmodels/gl_title.dita is not available to resolve link information.
I have a map with these definitions:
Code: Select all
<!-- Reference to all document variables. -->
<mapref format="ditamap" href="m_variables.ditamap" processing-role="resource-only" scope="local"/>
<mapref format="ditamap" href="m_acronyms.ditamap" processing-role="resource-only" scope="local"/>
<mapref format="ditamap" href="m_elements.ditamap" processing-role="resource-only" scope="local" />
In m_elements.ditamap, I have:
Code: Select all
<glossref print="yes" keys="gl_title" href="./contentmodels/gl_title.dita"/>
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Staff Content Engineer
Site: docs.servicenow.com
-
- Posts: 156
- Joined: Sat Feb 26, 2005 12:09 am
- Location: USA
- Contact:
Re: Integrator fails using DITA-OT 2.3.1
Post by shudson310 »
I had to explicitly add to the libraries in the ant scenario.
Code: Select all
${configured.ditaot.dir.url}/lib/guava-19.0.jar
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Staff Content Engineer
Site: docs.servicenow.com
-
- Posts: 156
- Joined: Sat Feb 26, 2005 12:09 am
- Location: USA
- Contact:
Re: Integrator fails using DITA-OT 2.3.1
Post by shudson310 »
I still get an error about not being able to resolve the link information, but it actually appears to have worked. Not sure why the false error, but v2.3.1 does appear to resolve the keys better than v.2.2.5.
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Staff Content Engineer
Site: docs.servicenow.com
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Integrator fails using DITA-OT 2.3.1
Hi Scott,
I answered you here:
https://github.com/dita-ot/dita-ot/issues/2426
Maybe you can close that issue when you have the time.
Regards,
Radu
I answered you here:
https://github.com/dita-ot/dita-ot/issues/2426
Maybe you can close that issue when you have the time.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Integrator fails using DITA-OT 2.3.1
About the keyref problem, if you can put together a sample DITA project we can look into it. Usually problems occur when you use chunking or when you refer to resources outside of the folder where the main DITA Map is located.
Regards,
Radu
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 156
- Joined: Sat Feb 26, 2005 12:09 am
- Location: USA
- Contact:
Re: Integrator fails using DITA-OT 2.3.1
Post by shudson310 »
It's definitely related to common glossary terms that are in a folder at a higher level than the bookmap. This is the only way to share common glossary terms across multiple product manuals. We use fix.external.refs.com.oxygenxml="true" to address this, but still get the errors in the log.
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Staff Content Engineer
Site: docs.servicenow.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