Re: Custom dita-ot plugins directory in configuration.properties #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.

Pierre


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 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

--
Envoyé de mon appareil mobile

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