Page 1 of 1

DITA-OT processing suddenly stopped working

Posted: Thu Jul 25, 2019 4:15 pm
by AndrewCampbell
My colleague is getting the following two errors when she uses a DITA-OT transformation scenario in Oxygen.

Code: Select all

System ID: C:\Users\myUserid\Documents\myProject\dita\myMap.ditamap
Scenario: Andrew test 3
Input file: C:\Users\myUserid\Documents\myProject\dita\myMap.ditamap
Engine name: DITA-OT
Severity: fatal
Description: Transformation failed. Target "pdf-css.publish-pdf" does not exist in the project "DOST". It is used from target "dita2pdf-css-html5".

Code: Select all

System ID: C:\Users\myUserid\Documents\myProject\dita\myMap.ditamap
Scenario: Andrew test 3
Input file: C:\Users\myUserid\Documents\myProject\dita\myMap.ditamap
Engine name: DITA-OT
Severity: error
Description: Target "pdf-css.publish-pdf" does not exist in the project "DOST". It is used from target "dita2pdf-css-html5".
Everything was working and then it suddenly stopped. It doesn't seem to matter what transtype we are using - we always get the same errors.

I am completely stumped. Can anyone help?

Re: DITA-OT processing suddenly stopped working

Posted: Fri Jul 26, 2019 8:30 am
by Radu
Hi Andrew,

Not sure what's going on, did she make any changes to the build files? Or did she configure a custom DITA Open Toolkit engine (not the one shipped with Oxygen) in the Preferences->DITA page?
For example in this build file "OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT3.x/plugins/com.oxygenxml.pdf.css/build.xml" the target "pdf-css.publish-pdf" should be defined in one place and used in two more places.

Regards,
Radu

Re: DITA-OT processing suddenly stopped working

Posted: Fri Jul 26, 2019 4:32 pm
by AndrewCampbell
Eventually we just uninstalled and reinstalled Oxygen. Not the best solution I know, but it worked.