[equinox-dev] same bundle in multiple regions

2011-09-23 Thread Borislav Kapukaranov
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

Re: [equinox-dev] same bundle in multiple regions

2011-09-23 Thread BJ Hargrave
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. --

Re: [equinox-dev] same bundle in multiple regions

2011-09-23 Thread Thomas Watson
BJ is correct. Just to elaborate. The framework enforces an invariant that ensures all bundles installed in the Framework have a unique bundle location string. Regions, hooks, etc. cannot do anything to break this enforced invariant. If you use the Region.installBundle method it will modify th

[equinox-dev] Eclipse and Equinox 3.7.1 now available

2011-09-23 Thread Kim Moir
We're happy to announce that Eclipse and Equinox 3.7.1 are now available as part of the Indigo SR1 release Indigo SR1 packages http://www.eclipse.org/downloads/ Eclipse 3.7.1 includes Java 7 support: http://www.eclipse.org/jdt/ui/r3_8/Java7news/whats-new-java-7.html The readme includes a list o

Re: [equinox-dev] same bundle in multiple regions

2011-09-23 Thread Borislav Kapukaranov
I see. That sounds reasonable, thanks for the explanation! I was looking from a too mixed framework/region perspective while it should really be stressed that the regions build on top of the framework behavior rather than change it. Thanks Bobby 2011/9/23 Thomas Watson > BJ is correct. Just to