Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Development of dropins bundle deployment capability (Developing the process of reading the OSGi bundles in the dropins directory and updating the existing bundles.info file)
Development of dropins bundle deployment capability [message #1713907] Sun, 08 November 2015 07:36
Chiranga Alwis is currently offline Chiranga AlwisFriend
Messages: 5
Registered: November 2015
Junior Member
Hi,
I am Chiranga Alwis and this is my first post in this forum so pardon me for any mistakes or shortcomings that I might make.

I have been contributing to WSO2's Carbon kernel code base and have developed its process of reading the external third party OSGi bundles from dropins folder and updating the bundles.info file. The GitHub link to this code is given below:
https://github.com/wso2/carbon-kernel/tree/5.0.x/launcher/src/main/java/org/wso2/carbon/launcher/extensions

But I have been trying to discover whether I could directly utilize the Equinox's capability of reading the bundles in dropins folder and update its bundles.info file. (for example, I tried dropping in an OSGi bundle to Eclipse IDE's dropins folder and found that it had been successfully updated in its bundles.info file) But since I am totally new to most of these technologies including the Equinox and OSGi I haven't found it easy to find the code for this capability.

I found the following two modules which contained related implementation:
https://github.com/eclipse/rt.equinox.p2/tree/master/bundles/org.eclipse.equinox.simpleconfigurator.manipulator
https://github.com/eclipse/rt.equinox.p2/tree/master/bundles/org.eclipse.equinox.simpleconfigurator
It would be a significant improvement if I can use an existing code for this capability in such a way that I only have to provide the path to the dropins folder and bundles.info file will get updated.

Hence, I would be grateful for any related advice for my attempt to improve the Carbon kernel's code by using Equinox's existing code. Clear directions and steps to achieve the target improvements will be highly appreciated.
Previous Topic:Standard OSGi launch configuration Equinox 3.11
Next Topic:[P2] Avoid recreation of config.ini, update other files then Bundles
Goto Forum:
  


Current Time: Fri Sep 21 07:59:40 GMT 2018

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

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

Back to the top