Search Mailing List Archives
[protege-discussion] plugin and libraries
tudorache at stanford.edu
Mon Jan 15 13:23:49 PST 2007
If you add a jar to your plugin directory, your plugin should be able to
access the classes of the jar. When you run Protege with your plugin in
Eclipse, all the jars are added to the classpath. So, what you could try
to do is to add explicitly the saxon8.jar to the classpath when starting
If you start Protege with the executable (for example, Protege.exe on
Windows platform) then the classpath is set from the Protege.lax file.
You can edit in the Protege.lax file the line:
Add at the end of this line your jar. You can use a relative path, like:
If you start Protege using the batch script (run_protege.bat or
run_protege.sh), you should adjust in it the JARS variable.
julien lejeune wrote:
> I am trying to develop a plugin but I have some problems to add a library
> that I need for it.
> In fact I use the library "saxon8.jar" and I added this JAR file in
> "protege_directory\plugins\myPlugin\saxon8.jar" (with myPlugin.jar)
> But I have this message :
> javax.xml.transform.TransformerFactoryConfigurationError: Provider
> net.sf.saxon.TransformerFactoryImpl could not be instantiated:
> When I tested my plugin with my IDE (Eclipse) I didn't have problems so I
> think that my library is not well loaded in the application.
> Can somebody help me ?
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
More information about the protege-discussion