All transformation scenarios fail after installing com.github.dita-ot-plugins.plaintext plugin

Exotic Hadron
Posts: 25

All transformation scenarios fail after installing com.github.dita-ot-plugins.plaintext plugin

Mon Nov 13, 2017 8:24 pm

Hello,

I was trying to install the com.github.dita-ot-plugins.plaintext DITA-OT plugin by using the following procedure.

I copied the unpacked com.github.dita-ot-plugins.plaintext to:

Code: Select all

\frameworks\dita\DITA-OT2.x\plugins\

and then used this command to install the plugin:

Code: Select all

ant -f integrator.xml -verbose strict


Apparently, due to incompatibility of this plugin with DITA-OT 2.x something broke. Now when all attempts to build by DITA files, no matter whatever transformation is used, transformation scenario fails and I get the following error:

System ID: E:\Repo\help\src\getting_started.ditamap
Scenario: DITA Map PDF - All platforms
Input file: E:\Repo\help\src\getting_started.ditamap
Engine name: DITA-OT
Severity: fatal
Description: Transformation failed.

System ID: E:\Repo\help\src\getting_started.ditamap
Scenario: DITA Map PDF - All platforms
Input file: E:\Repo\help\src\getting_started.ditamap
Engine name: DITA-OT
Severity: error
Description: Target "dita.outer.topic.troff" does not exist in the project "DOST". It is used from target "com.github.dita-ot-plugins.plaintext.dita2plaintext".


DITA Map PDF - All platforms is my custom transformation scenario, but every other transformation scenario, including every built one, fails.

Any clue how could I fix that and make the transformation scenarios work again?

Thank you in advance.
Radu
Posts: 5129

Re: All transformation scenarios fail after installing com.github.dita-ot-plugins.plaintext plugin

Tue Nov 14, 2017 4:30 pm

Hi,

Whenever an installed DITA OT plugin gets you into trouble, you can manually remove the plugin folder from the DITA OT "plugins" and run the integrator again.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Exotic Hadron
Posts: 25

Re: All transformation scenarios fail after installing com.github.dita-ot-plugins.plaintext plugin

Tue Nov 14, 2017 5:01 pm

Thank you. Which one integrator.xml do I use then? I've tried this one

Code: Select all

%OxygenProgramFolder%\frameworks\dita\DITA-OT2.x\integrator.xml

But that didn't help...
Radu
Posts: 5129

Re: All transformation scenarios fail after installing com.github.dita-ot-plugins.plaintext plugin

Tue Nov 14, 2017 5:04 pm

Hi,

There is a predefined transformation scenario in Oxygen for running the integrator:

https://www.oxygenxml.com/doc/versions/19.1/ug-editor/topics/dita-ot-install-plugin.html?hl=integrator

Or from the command line you can change directory to the "DITA-OT2.x/bin" folder and run "dita -install".

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: Bing [Bot] and 0 guests