Search Mailing List Archives
[protege-owl] Jar file issues
martin.oconnor at stanford.edu
Thu Feb 23 10:02:27 PST 2012
Some of the SWRLTab's built-in libraries use axis.jar so unfortunately it does have to be in the protege-owl plugins directory. If you are not using these libraries (temporal and swrlb, though perhaps others too) then you could (at least temporarily) substitute your axis.jar for the one that comes with the distribution - though obviously this is not a general solution.
----- Original Message -----
From: "Timothy Redmond" <tredmond at stanford.edu>
To: protege-owl at lists.stanford.edu
Sent: Thursday, February 23, 2012 9:54:30 AM
Subject: Re: [protege-owl] Jar file issues
This is an awkward problem. Protege 3 uses a home brewed plugin
architecture (it was done before the current powerful solutions
existed). So there is no simple way to mask the axis.jar from the
protege owl directory.
But perhaps we can help you with this. My first reaction is that it is
not clear why axis.jar is needed in the protege-owl directory. Does it
work if it is removed? Perhaps we should have a build without the
axis.jar. I am not sure if this is safe. I will talk to Tania about
this and see if I can do some analysis.
Alternatively, if axis.jar is needed then we could make a build that
adds wsdl4j.jar and jaxrpc.jar. This might be redundant but might not
require the analysis.
Finally, you could build your zip file one directory up so that when
unzipped it adds the wsdl4j.jar and the jaxrpc.jar files to the
The second solution is the safest but the first solution might be better.
On 02/22/2012 06:18 PM, Daniel Elenius wrote:
> I have a question about how to handle jar files needed by Protege
> I have a plugin which needs axis.jar, wsdl4j.jar, and jaxrpc.jar.
> protege-owl already comes with axis.jar, but not the others. In my
> code, some method in axis.jar needs to call some methods in wsdl4j.jar
> and jaxrpc.jar. However, if I just put jaxrpc.jar and wsdl4j.jar in my
> own plugin directory, axis.jar can't find them (I get a
> ClassNotFoundException). Also putting axis.jar in my own plugin dir
> doesn't help: Protege wants to use the axis.jar in the protege-owl
> plugin dir anyway. Putting wsdl4j.jar and jaxrpc.jar in the
> protege-owl plugin dir solves the problem, but I would like to be able
> to just zip up my plugin dir and give it to people as a binary
> Is there any good solution to this?
> Daniel Elenius
> Computer Scientist
> SRI International
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing:
protege-owl mailing list
protege-owl at lists.stanford.edu
Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
More information about the protege-owl