Hi,
If you are directly using bundles (without features), you have to
refresh the bundle.
If A is resolved to B and you update B, then you have to refresh A
("flushing" the classloaders).
If you are using features, Karaf resolver is able to automatically
detects the bundles resolution graph and then refresh the required
bundles for you.
Regards
JB
On 26/04/2019 14:47, abdelb wrote:
> I have bundles A and B.
>
> A depends on B.
>
> If changes are made to B, A should pick these up.
>
> What's currently happening is B is being resolved before A, and I have to
> restart A for it to pick B up.
>
> After this, when B is updated A doesn't pick the changes up.
>
> How can I avoid this problem? I have tried adding a runtime dependency on B
> in A (in pom.xml) but still running into the same issue.
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>