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

Post here questions and problems related to editing and publishing DITA content.
Exotic Hadron
Posts: 25
Joined: Mon Aug 07, 2017 7:46 pm

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

Post by Exotic Hadron »

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: 9059
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu »

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
Joined: Mon Aug 07, 2017 7:46 pm

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

Post by Exotic Hadron »

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: 9059
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu »

Hi,

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

https://www.oxygenxml.com/doc/versions/ ... 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
Exotic Hadron
Posts: 25
Joined: Mon Aug 07, 2017 7:46 pm

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

Post by Exotic Hadron »

Thank you for your help!
Post Reply