Custom dita-ot plugins directory in configuration.properties #DITA-OT


Nicolas Delobel
 

Hello all,

I developed custom plugins and stored them in a specific directory: c:/myplugins

Following https://www.dita-ot.org/dev/parameters/configuration-properties-file.html I added following line in configuration.properties (dita-ot 3.6):
plugindirs = plugins;demo;C:/myplugins;

When I run dita-ot integrator, I have following messages so it's OK:
integrate:
[integrate] Added com.myplugin1.pdf
[integrate] Added com.myplugin2.pdf
[integrate] Added com.myplugin3.pdf
...

But when I try to use one of these plugins I immediately have:
BUILD FAILED
C:\myproject\dita-ot-3.6\build.xml:19: The following error occurred while executing this line:
C:\myproject\dita-ot-3.6\plugins\org.dita.base\build.xml:36: The following error occurred while executing this line:
C:\myproject\dita-ot-3.6\plugins\org.dita.base\build_init.xml:23: taskdef class org.dita.dost.ant.InitializeProjectTask cannot be found
 using the classloader AntClassLoader[]

Did you already have this kind of issue?

Thanks.

Nicolas

Join main@dita-users.groups.io to automatically receive all group messages.