yes, it can:

http://felix.apache.org/site/apache-felix-osgi-faq.html#ApacheFelixOSGiFAQ-WhenIupdatemybundle%252Cwhyaremybundle%2527soldclassesstillbeingused%253F

regards,

Karl

On Mon, Dec 12, 2011 at 11:13 AM, Bram de Kruijff <[email protected]> wrote:
> Hi list,
>
> having a hard time understanding the problem below. Can a bundle be
> wired to multiple revision of another? I'd think it would refresh all
> wires. Bug or feature? Probably the latter, but I'd like to understand
> :)
>
> When stop/starting a local install I get in this situation. Bundles
> are touched/updated from build in between, but nothing really changes
> in terms of imports/exports. Bundles are updated from fileinstall, not
> directly by the framework. I recently switched to 4.0.2 so that is
> probably related. After the refresh all is fine.
>
> {quote}
> org.osgi.framework.BundleException: Uses constraint violation. Unable
> to resolve bundle revision org.amdatu.web.rest.wink [21.1] because it
> is exposed to package 'javax.ws.rs' from bundle revisions
> org.amdatu.web.rest.jaxrs [18.1] and org.amdatu.web.rest.jaxrs [18.0]
> via two dependency chains.
>
> Chain 1:
>  org.amdatu.web.rest.wink [21.1]
>    import: 
> (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0)(!(version>=2.0.0)))
>     |
>    export: osgi.wiring.package=javax.ws.rs
>  org.amdatu.web.rest.jaxrs [18.1]
>
> Chain 2:
>  org.amdatu.web.rest.wink [21.1]
>    import: 
> (&(osgi.wiring.package=javax.ws.rs.ext)(version>=1.1.0)(!(version>=2.0.0)))
>     |
>    export: osgi.wiring.package=javax.ws.rs.ext; uses:=javax.ws.rs
>    export: osgi.wiring.package=javax.ws.rs
>  org.amdatu.web.rest.jaxrs [18.0]
> -> refresh
> {quote}
>
> Thanks,
> Bram
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Karl Pauls
[email protected]
http://twitter.com/karlpauls
http://www.linkedin.com/in/karlpauls
https://profiles.google.com/karlpauls

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

Reply via email to