Hi, I'm trying to understand the best practises or ways to manage bundles in an OSGi environment. I ran into this when I was trying to do a hot deployment . As part of the process, I had to drop the new version of the bundle in the deploy folder, uninstall the old version from OSGi container and refresh the bundles who has a reference to this one.
Now, one easy way to achieve this is to use the web console. But I'm looking into the option of using some sort of external script which will allow me to uninstall and refresh bundles. The available commands are accessible only through the karaf console. Is there a way to execute these commands (uninstall, refresh) from an external script ? What are best practises people follow in this regard ? I'll appreciate if someone can share their experience. - Thanks

