Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:06
Victor Roldan Betancort is currently offline Victor Roldan Betancort
Messages: 524
Registered: July 2009
Senior Member
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: Tue Sep 16 11:43:15 GMT 2014

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

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