Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Leveraging OSGi and dynamic bundle loading
Leveraging OSGi and dynamic bundle loading [message #593146] Thu, 12 March 2009 09:52
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1893
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi all,

I am searching for a way to dynamically load the bundles defined in my
Eclipse workspace in the currently running Eclipse instance so as to
have their extension points and exported packages registered. I have had
some success with code inspired from the project in
platform-incubator/ui . The problem I face now is ... The projects
loaded dynamically need to have the "Bundle-Classpath" header
positionned in their MANIFEST.MF so as to avoid classloading issues.
Whar I am looking for would be a way to dynamically position this value
or tell the loaded bundle (or the PackageAdmin? don't really know where
I should enter the API here) without forcing my users to set their

org.eclipse.pde.internal.core.ibundle.IManifestHeader and other
interfaces/classes I could find when trying to do this are all internal
so ... is there a way to do this through public API?


Laurent Goubet

Content-Type: text/x-vcard; charset=utf-8;
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;

fn:Laurent Goubet
org:<a href="">Obeo</a>

Previous Topic:Can't get logging to console to work
Next Topic:Refresh highlighting after prefrence changes
Goto Forum:

Current Time: Mon Jun 21 02:19:38 GMT 2021

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

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

Back to the top