Magnus G?fvert wrote:
> 
> We need syntax highlighting in docbook programlistings and use the
> xslthl package
> <http://www.sagehill.net/docbookxsl/SyntaxHighlighting.html> with
> customization for our specific languages. This works fine with XXE, but
> an additional jar file is needed in the classpath.
> 
> Currently we have copied the required jar (xslthl-2.01.jar) to the bin
> folder and modified the classpath in xxe.jstart:
> -classpath
> ..\class;xxe.jar;xerces.jar;resolver.jar;relaxng.jar;xsc.jar;jh.jar;saxon.jar;saxon9.jar;xxe_help.jar;xslthl-2.0.1.jar
> 
> 

There is no need to do this.



> This works, but is not very good from a deployment point of view.
> Preferably, I would like to have the jar file in the custom addon
> folder, and somehow add it to the classpath from the addon configuration
> file. Is this possible?
> 

It already works like this.

Many add-ons include .jar files, XML catalogs, etc. XXE discovers the
add-ons at startup time and automatically includes their .jar files to
the CLASSPATH, it automatically merges all their XML catalogs to its
stock one, etc.

This is documented here:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/deploy.html


> Alternatively, could you consider to include xslthl in the XXE
> distribution? It is mature package supported by the standard docbook5
> stylesheets.The license should be no problem. The project is located at
> <http://sourceforge.net/projects/xslthl>.
> 





Reply via email to