ace-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <>
Subject Re: Using the Sling OSGi Installer?
Date Mon, 28 Nov 2011 18:39:22 GMT
2011/11/28 Marcel Offermans <>:
>>> Yes. As soon as you allow more than one version of a bundle to be installed at
the same time, you end up with problems because you cannot identify in the case of an update,
which is an update of which. This, in my opinion, is a "bug" in the OSGi specification, especially
now that the 4.3 spec will even allow you to install the same version multiple times. Luckily,
in real life, this situation rarely occurs (appearantly).
>> Yepp, when it comes to bundles, the Sling installer does not allow to
>> install the same bundle in different versions (based on the symbolic
>> name of the bundle)
> Out of interest, did you ever run into issues with this in practice?
We had one problem  recently with commons lang version 2.x and 3.x
which both use the same symbolic name but export completely different
packages - so this is one of the rare cases where it makes sense to
have them both available at the same time. However, we more had the
feeling that the 3.x version should use a different symbolic name :)
We ended up re-packaging one of them.
Apart from that we never really had the need to have different
versions runnin in parallel.

Carsten Ziegeler

View raw message