refresh/update bundles

2013-02-06 Thread Jason

Hi all,

I am trying to refresh a bundle from the Karaf console.  I have a 
features project that describes the bundles I want deployed  I have a 
distribution project to build a custom Karaf instance.  All that works 
great, but when I rebuild my project from source  execute a 
features:uninstall somebundle  then features:install 
thesamebundle, that bundle is not refreshed/updated.  Does Karaf 
provisioning behave differently when bundles are assembled via a custom 
distribution vs just running osgi:install -s mvn:somebundle?


Thanks,
Jason




Re: refresh/update bundles

2013-02-06 Thread Jason

All,

This worked

Uninstall the bundle - copy the bundle I want into 
karaf_home/system/overwriting the existing bundle - install the 
bundle.  Is there a better way to do this?


Regards,
Jason


On 02/06/2013 04:01 PM, Jason wrote:

Hi all,

I am trying to refresh a bundle from the Karaf console.  I have a 
features project that describes the bundles I want deployed  I have a 
distribution project to build a custom Karaf instance. All that works 
great, but when I rebuild my project from source  execute a 
features:uninstall somebundle  then features:install 
thesamebundle, that bundle is not refreshed/updated.  Does Karaf 
provisioning behave differently when bundles are assembled via a 
custom distribution vs just running osgi:install -s mvn:somebundle?


Thanks,
Jason






Re: refresh/update bundles

2013-02-06 Thread Christoph Gritschenberger

When using maven, you can use

bundle:watch bundle-id

or

bundle:watch *

and just call mvn install on your project. The watcher detects the 
change in your local .m2 and updates the artifact.


kind regards,
christoph

On 2013-02-06 22:19, Jason wrote:

All,

This worked

Uninstall the bundle - copy the bundle I want into
karaf_home/system/overwriting the existing bundle - install the
bundle.  Is there a better way to do this?

Regards,
Jason


On 02/06/2013 04:01 PM, Jason wrote:

Hi all,

I am trying to refresh a bundle from the Karaf console.  I have a
features project that describes the bundles I want deployed  I have a
distribution project to build a custom Karaf instance. All that works
great, but when I rebuild my project from source  execute a
features:uninstall somebundle  then features:install
thesamebundle, that bundle is not refreshed/updated.  Does Karaf
provisioning behave differently when bundles are assembled via a
custom distribution vs just running osgi:install -s mvn:somebundle?

Thanks,
Jason









smime.p7s
Description: S/MIME Cryptographic Signature