[daisy] how to register custom JARs?

Bruno Dumon bruno at outerthought.org
Mon Jun 18 09:00:22 CDT 2007


On Mon, 2007-06-18 at 14:16 +0200, Hofmann. David wrote:
> 
> Hello,
> 
> I’m trying to integrate a custom Java class into a publication. (a
> JavaHelpConverter). The programm already works when it is run
> externally.
> 
> I created a Java class implementing PublicationProcessTask.
> 
>  
> 
> In the publicationtype.xml I added a <custom class=”..”> tag.
> 
> I placed the JAR in C:\daisy\lib\test
> 
>  
> 
> The only hint I found to register the JAR in the documentation was to
> set DAISY_CLI_CLASSPATH.
> 
> I guess that’s not the right method, as I still get “Non-existing class specified in custom publication process task: javaHelp.JavaHelpConverter”
>  
> How can I register the new JAR correctly?
>  

The wiki is just a normal webapp, so put the jar in
daisywiki/webapp/WEB-INF/lib and restart the wiki.

> 
-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list