It's what I said in my previous email:

bundle:update 55 file://path/to/bunle.jar

Regards
JB

On 11/26/2014 11:55 AM, joaocmfcm wrote:
I could make it work by simply going to the Web Console and manually click on
the refresh package imports of each bundle (B C and D).

But I still want to know if there's a way of installing the fixed bundle
over the existing one deployed on Karaf. Let's say bundle A is 555 and it is
active. If I do "install file://x.bundleA" it will retrieve me the
id/location 555 again, that's correct because it is already deployed.
Although, even if I make update:bundle 555 it will never redeploy the new
fixes made on that bundle. I always have to uninstall it and install it
again which will give me a new location, lets say 556. By then I have to go
to web console and refresh package imports of the other bundles that
depended on the old bundle A on 555. This last action makes them now wired
to 556 and everything works great. Although I still think there's should be
a better and efficient way of doing this. Let me know and excuse my
noobiness.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Updating-an-existing-bundle-on-Karaf-tp4036634p4036689.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to