Re: Custom dita-ot plugins directory in #DITA-OT

Pierre Attar

This seems to be related to java version used by 3.6 which is different from the one used by oXygen.


Le 1 février 2021 11:49:02 GMT+01:00, Nicolas Delobel <nicolas.delobel@...> a écrit :
Hello all,

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

Following I added following line in (dita-ot 3.6):
plugindirs = plugins;demo;C:/myplugins;

When I run dita-ot integrator, I have following messages so it's OK:
[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:
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?



Envoyé de mon appareil mobile

Join to automatically receive all group messages.