Updates to Karaf in Eclipse PDE
Just a quick update to running Apache Felix Karaf in Eclipse PDE: I now have it launching Karaf with proper configuration synchronization. This means that there are no longer any exceptions during startup due to missing configuration files and the files are only synchronized if they are missing.
Developers can freely modify the default configuration files or provide their own entirely and the launcher will preserve those changes between executions.
I am one step closer to having this working well enough to develop against. The remaining tasks:
- Synchronize workspace and additional Target Platform bundles to the configuration
- Add a proper source bundle to the Target Platform definition for Karaf
- Create the Karaf specific property pages to make configuring things easier
Here's a screenshot:

Comments
Hi Stephen....I've been
Hi Stephen....I've been looking for exactly this and have been wondering about how to hack Eclipse to achieve what you have done. Do you have an SVN repo or something? The entire Felix/Servicemix community can certainly benefit from the work you've begun here.
Release is on its way
Hi Cliff,
Yes I have a svn that I am cleaning up and also an update site that I am putting together. Hopefully things will be out by the morning of 06/18.
This is on my list too...
Hi Stephen - turns out I've got this exact same task on my list of things to do. I assume from the screenshots that you are developing a launcher extension point for Karaf - are you thinking of releasing the code? Do you need any help testing/coding? I'd be happy to put some time in to get this up and running :)
--oh
Just got it working this evening
Hi Oisin,
Yes, I just got this working this evening and I'm going to blog about it some more. It is now to the point where I can create Eclipse PDE plugin projects and have them pulled in to the Karaf launcher. This that a developer can trivially create projects in PDE and deploy them to Karaf. I also have Eclipse Target Platform plugins for NMR and ServiceMix 4.
Once I have a good foundation I'll be able to get those running as well... in fact I should just try it now!