Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Fragment bundle is not getting activated
Fragment bundle is not getting activated [message #1802423] Fri, 08 February 2019 15:22 Go to next message
Chamila Adhikarinayake is currently offline Chamila AdhikarinayakeFriend
Messages: 3
Registered: February 2019
Junior Member
I have Two osgi bundles Bundle A and Bundle B. Bundle B is a fragment bundle of bundle A. When both components are in the osgi environment, Bundle A is in ACTIVE state but Bundle B is in RESOLVED state and it is not getting activated. Bundle B gets activated if I remove the <Fragment-Host> header.

Is there any specific way I have to define the fragment bundle? (other than adding the <Fragment-Host>? maybe add any annotations, etc)? . If there any sample resource I could use, please let me know

I'm using org.eclipse.osgi_3.11.0.v20160603-1336
sample bundles can be found in https://github.com/chamilaadhi/sample-bundles

Thanks

[Updated on: Sat, 09 February 2019 06:12]

Report message to a moderator

Re: Fragment bundle is not getting activated [message #1802453 is a reply to message #1802423] Sat, 09 February 2019 08:58 Go to previous message
Chamila Adhikarinayake is currently offline Chamila AdhikarinayakeFriend
Messages: 3
Registered: February 2019
Junior Member
Found the answer in SO. Bundle fragments are never started, only resolved

https://stackoverflow.com/questions/8592860/component-inside-a-fragment-never-activated
Previous Topic:Running the eclipse titan on cygwin on windows
Next Topic:Unable to Install Eclipse for Windows
Goto Forum:
  


Current Time: Tue Jul 23 04:58:15 GMT 2019

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

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

Back to the top