XHTML: ${dita.plugin.org.dita.xhtml.dir} not resolved with c
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 482
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
XHTML: ${dita.plugin.org.dita.xhtml.dir} not resolved with c
Post by Frank Ralf »
Hi,
I'm trying to make the DITA XHTML transformation work with our customized framework. I changed the dita.dir parameter of the transformation to point to the DITA-OT of our custom framework. Unfortunately the transformation fails with the following error message:
Looks like the OT cannot resolve the ${dita.plugin.org.dita.xhtml.dir} variable correctly. Is this a configuration issue or a bug?
Kind regards,
Frank
I'm trying to make the DITA XHTML transformation work with our customized framework. I changed the dita.dir parameter of the transformation to point to the DITA-OT of our custom framework. Unfortunately the transformation fails with the following error message:
Code: Select all
BUILD FAILED
[...]\DITA-OT\build.xml:133: The following error occurred while executing this line:
[...]\DITA-OT\plugins\org.dita.xhtml\build_dita2xhtml.xml:72:
[...]\DITA\abc_spec\topics\${dita.plugin.org.dita.xhtml.dir}\resource does not exist.
Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XHTML: ${dita.plugin.org.dita.xhtml.dir} not resolved wi
Hi Frank,
I'm not sure what exactly you are doing, maybe copying plugins from a newer DITA OT to an older DITA OT. I'll tell you how this usually works in the DITA OT.
Usually the main DITA OT build file DITA-OT/build.xml contains at some point property declarations which map property names to locations where each DITA OT plugin directory is located.
For example if I open the main build.xml from the DITA OT 1.8 which comes bundled with Oxygen 16.1 I can find in it at some point:
That property is then later used in the build_dita2xhtml.xml.
Probably that property declaration is missing from your DITA-OT/build.xml. Usually the property declaration should be added automatically by running the DITA OT Integrator if the plugin DITA-OT\plugins\org.dita.xhtml is present.
Regards,
Radu
I'm not sure what exactly you are doing, maybe copying plugins from a newer DITA OT to an older DITA OT. I'll tell you how this usually works in the DITA OT.
Usually the main DITA OT build file DITA-OT/build.xml contains at some point property declarations which map property names to locations where each DITA OT plugin directory is located.
For example if I open the main build.xml from the DITA OT 1.8 which comes bundled with Oxygen 16.1 I can find in it at some point:
Code: Select all
<property name='dita.plugin.org.dita.xhtml.dir' location='${dita.dir}\plugins/org.dita.xhtml'/>
Probably that property declaration is missing from your DITA-OT/build.xml. Usually the property declaration should be added automatically by running the DITA OT Integrator if the plugin DITA-OT\plugins\org.dita.xhtml is present.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 482
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: XHTML: ${dita.plugin.org.dita.xhtml.dir} not resolved wi
Post by Frank Ralf »
Hi Radu,
Thanks for your quick response. I will have a closer look but you are probably right because we did some manual tampering with the build.xml file ...
Kind regards,
Frank
Thanks for your quick response. I will have a closer look but you are probably right because we did some manual tampering with the build.xml file ...
Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
-
- Posts: 482
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: XHTML: ${dita.plugin.org.dita.xhtml.dir} not resolved wi
Post by Frank Ralf »
You were right, Radu. The following line was indeed missing from our build.xml file.
I put it in again and everything works fine.
Many thanks again!
Frank
Code: Select all
<property name='dita.plugin.org.dita.xhtml.dir' location='${dita.dir}\plugins/org.dita.xhtml'/>
Many thanks again!
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.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