Sanket Shirode
Sanket Shirode

Reputation: 57

Hot deployment in karaf

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.

Upvotes: 1

Views: 1988

Answers (1)

Christian Schneider
Christian Schneider

Reputation: 19626

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.

Upvotes: 0

Related Questions