Hot deployment in karaf

1.8k Views Asked by At

How to setup karaf so that i don't need to build my project and restart karaf again and again for the updates in code?
I am unable to achieve this in my current project. I have tried placing features.xml in /deploy folder but no use, it is flushed every time after build.

1

There are 1 best solutions below

10
Christian Schneider On

See my answer to this question. Basically you deploy your project to maven, install the feature from maven and set karaf to auto update snapshot changes from your local repo.

This way you can even update while you are in a remote debug session.