Re: ERROR: A class needed by class org.dita.dost.ant.IntegratorTask cannot be found #DITA-OT

Joe Williams

In case someone (including myself) needs to Google this in the future, I have had some luck running Ant instead of the dita command by including the "-lib" option, pointing to the DITA-OT lib directory.
The following is a pseudo BAT file (the carats let you break lines for readability).
{DITA-OT}\bin\ant -f {DITA-OT}\build.xml ^
-Dargs.input=my.ditamap ^
-Doutput.dir=myOutputDir ^
-Dtranstype={transtype} ^
-Ddita.dir={DITA-OT} ^

Join to automatically receive all group messages.