Hi, If a bundle(Let's say bundleA) isn't self-contained, which means other bundles depend on this bundle, then "install bundleA" won't take effect immediately, you do need refresh bundleA, this will cause all bundles depending on bundleA refresh(re-resolved) also, so that your changes in bundleA can take effect.
------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat On 2014-3-28, at 上午2:11, asookazian2 wrote: > what is the purpose of the refresh command in Karaf 3.0.x? What effect does > it have on the bundle lifecycle? > > I have a WAB (mega bundle WAR) that I just re-built using mvn. I run > 'update xxx'. Do I need to run 'refresh xxx' as well? Typically I update > WAB bundle and halt Karaf and restart Karaf to effect changes. > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/bundle-refresh-tp4032433.html > Sent from the Karaf - User mailing list archive at Nabble.com.
