Adding Java libraries to the classpath

If your Ant or XSLT extensions require additional Java libraries in the classpath, you can add them to the global Ant classpath with the following feature.

dita.conductor.lib.import
Add Java libraries to DITA-OT classpath.

Example

The following plug-in adds the compiled Java code from myJavaLibrary.jar into the global Ant classpath. XSLT or Ant code can then make use of the added code.

<plugin id="com.example.addjar">
  <feature extension="dita.conductor.lib.import" file="myJavaLibrary.jar"/>
</plugin>