Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Is it possible to substitute a bundle's class with another one coming from a fragment?
Is it possible to substitute a bundle's class with another one coming from a fragment? [message #599342] Tue, 14 July 2009 08:06
Eclipse UserFriend
Hi dear community,

I'm trying to substitute a class from a bundle I'm not allowed to
modify. I've tried using fragments, but with no result.

What I did was to create in the fragment a package with the same name as
the host bundle's target package where the class is contained. That
didn't work.

I've read also about the "import your exported" best practice. Not sure
If I understood it correctly: the OSGi runtime would import those
packages from other bundles, even when it's present in the declaring
bundle? Assuming this is right, I modified the fragment's MANIFEST to
include these "import your exported" packages. It didn't work either :(

Any tips on how to solve this?

Cheers,
Víctor.
Previous Topic:Problem with contributing to Eclipse Search menu
Next Topic:diagnose plugin hang
Goto Forum:
  


Current Time: Sun Jul 13 03:00:37 EDT 2025

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

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

Back to the top