|
|
|
|
|
Re: Share 3rd party JARs between plugins (Buddy-Policy / SPI / JARS as plugin) [message #51904 is a reply to message #51879] |
Tue, 24 March 2009 18:53 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
I think you are correct that SPI is causing you the trouble. OSGi
(Equinox) is different than a normal Java application when it comes to
class loading; it is not surprising to me that classes that are not
referenced directly from a plugin aren't visible to that plugin without
doing something special.
I suggest you post the problem to the eclipse.platform and
eclipse.technology.equinox newsgroups to see if the
OSGi/plugin-class-loading gurus there can offer any advice. This is not
really a PDE question, per se.
Hope this helps,
Eric
On 3/24/2009 10:45 AM, Jeff S. wrote:
> Klaus-
>
> I've actually tried that a few times (in as many variations as I could
> think of). Nothing I tried worked.
>
> I'm now thinking that it has something to do with the JARs being reliant
> on SPI (Service Provider Interface).
>
> My plugins don't actually reference any of the classes in the JARs, but
> when the JARs are added to the classpath, the SPI is recognized, and
> mp3/.ogg files are "auto-magically" recognized ;)
>
> Thanks for your reply though. I had actually seen that article before
> posting my question. I feel like I've tried googling everything I could
> think of, and I'm not coming up w/ answers (hence the newsgroup posting) :)
>
>
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04654 seconds