Replies: 1 comment
-
If you look in the file "DITA-OT/config/env.bat", the DITA OT gathers all JAR library references from all plugins and creates a batch script which is run when running the "dita" executable. So the DITA OT itself does not have its own class loader which would load all libraries from certain folders and then start the processing.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using the java API to run Dita-OT from a java application.
When running pdf transtype, i'm having issues with some ClassNotFoundExceptions.
I have dita-ot/config and dita-ot/lib directories in my classpath.
Some plugins like org.dita.index and org.dita.pdf2.fop do not reference their jars.
Some like org.dita.pdf2 do this and it works fine
I also found that it used to be the case for fop at least (ffcb7b1)
Some issues mention that i should include all plugins jar libs in my classpath (#3647 (comment)), but is it the best way ? Shouldn't plugins always reference their libs ?
Beta Was this translation helpful? Give feedback.
All reactions