Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Classes in a jar within a plugin are not visible to other plugins
Classes in a jar within a plugin are not visible to other plugins [message #576247] Wed, 13 August 2008 16:04
Bruce Skingle is currently offline Bruce SkingleFriend
Messages: 7
Registered: July 2009
Junior Member
I have a plugin which is a wrapper around a jar file. The plugin
contains an Activator, a view and the jar file. Other plugins need to be
able to access classes in the jar file.

When I create a second plugin in my development workbench everything is
fine, I add the first plugin as a dependency in the manifest of the
second plugin and I can instatntiate classes from the jar.

When I create a feature and update site, install a new copy of Eclipse
and use the update site to install my first plugin, containing the jar,
the plugin appears, but when I create another plugin and try to use
classes from the first plugin, I can see the Activator and the view
(i.e. classes built as part of the plugin) but nothing contained in the
jar. The jar itself is present, and the view, which calls classes in the
jar file works fine.

The jar file is on the plugin classpath and all of the packages in the
jar are in the Exported Packages list on the runtime tab of the manifest.

Normally I would use the "Plugin from existing jar" wizard to explode
the jar file into my plugin, but in this case the jar file is a signed
JCE provider (http://www.bouncycastle.org) so I cannot so this.

Am I missing something or is this a real limitation of the runtime?

Thanks,
Bruce.
Previous Topic:Classes in a jar within a plugin are not visible to other plugins
Next Topic:acmeproduct.exe appears not to work when placed in the recommended directory
Goto Forum:
  


Current Time: Thu Mar 28 08:08:34 GMT 2024

Powered by FUDForum. Page generated in 0.13905 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top