Skip to main content



      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 04:03 Go to next message
Eclipse UserFriend
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 08:13 Go to previous message
Eclipse UserFriend
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: Tue Apr 29 12:20:25 EDT 2025

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

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

Back to the top