It seems like File Install should allow you to do things.

    http://felix.apache.org/site/apache-felix-file-install.html

-> richard

On 6/29/11 13:37, Shamik Bandopadhyay wrote:
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to