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.
--------------030503000803050600040301
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 org.eclipse.ui.tools 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
Bundle-Classpath.

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?

Thanks,

Laurent Goubet
Obeo

--------------030503000803050600040301
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="laurent_goubet.vcf"

begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr/">Obeo</a>
email;internet:laurent.goubet@obeo.fr
url:http://www.obeo.fr
version:2.1
end:vcard


--------------030503000803050600040301--
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