Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Add "DynamicImport-Package" at runtime / by API?
Add "DynamicImport-Package" at runtime / by API? [message #1809995] Sun, 28 July 2019 08:03 Go to next message
Linuxhippy Mising name is currently offline Linuxhippy Mising nameFriend
Messages: 71
Registered: July 2009
Member
Hi,

is it possible to add "DynamicImport-Package" at runtime - e.g. in the Activator of a Bundle? Or remove packages from "Import-Package" specified in MANIFEST.MF at runtime?

Thank you in advance, Clemens
Re: Add "DynamicImport-Package" at runtime / by API? [message #1810232 is a reply to message #1809995] Mon, 05 August 2019 12:13 Go to previous message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 503
Registered: July 2009
Senior Member
There is no specified way to accomplish this. Equinox does offer an implementation specific hook for modifying the meta data of bundles with an implementation of org.eclipse.osgi.internal.hookregistry.StorageHookFactory.StorageHook.adaptModuleRevisionBuilder(ModuleEvent, Module, ModuleRevisionBuilder)

But this requires an equinox framework extension to be implemented. I would caution against doing this if possible.

Tom
Previous Topic:Querying product's plugins under debug
Next Topic:Create p2 site: ProductPublisher can't find the product file [SOLVED]
Goto Forum:
  


Current Time: Thu Apr 25 08:26:44 GMT 2024

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

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

Back to the top