Page 1 of 1

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

Posted: Mon Nov 13, 2017 8:24 pm
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.

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

Posted: Tue Nov 14, 2017 4:30 pm
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

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

Posted: Tue Nov 14, 2017 5:01 pm
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...

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

Posted: Tue Nov 14, 2017 5:04 pm
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

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

Posted: Wed Nov 15, 2017 4:32 pm
by Exotic Hadron
Thank you for your help!