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: 68
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: 502
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: Fri Oct 07 00:27:22 GMT 2022

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

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

Back to the top