You can install the same bundle (same bits) using different locations strings. But a location string is a unique identifier for an installed bundle. Use the 2 argument version of BundleContext.installBundle using unique location strings to install a bundle from the same URL multiple times. --
BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Borislav Kapukaranov <b.kapukara...@gmail.com> To: equinox-dev@eclipse.org, Date: 2011/09/23 06:58 Subject: [equinox-dev] same bundle in multiple regions Sent by: equinox-dev-boun...@eclipse.org Hey folks, I have a question on installing a bundle from the same location. Take the latest Virgo 3.0.x as a good example of more than one region and connect with telnet to each console. If you try to install a bundle from the same location in both regions via each region's console this will fail with something like "Bundle already installed...". Is this working as designed? Shouldn't it be possible to install a bundle from the same location(same string) if it's in different regions - Equinox may treat it as a different bundle and create it its own data folder, id, etc? http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg06875.html suggest that should be possible, as the first installation won't be visible to the context of the other region. Thanks, Bobby_______________________________________________ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev