Karl Pauls wrote:
I think the issue is that you did only refresh the obr bundle. The
other bundle is still around and can be used until the framework is
refreshed. Can you try whether doing a complete refresh makes a
difference?
Yes, that is what I was going to say too. You don't need to refresh OBR,
you need to refresh the compendium bundle, which since it is uninstalled
means refreshPackages(null).
-> richard
regards,
Karl
Von meinem iPhone gesendet
Am 28.07.2008 um 18:58 schrieb "Alin Dreghiciu" <[EMAIL PROTECTED]>:
Hi guys,
While working on FELIX-482 I had the following (interesting) situation:
1. I had obr bundle importing org.osgi.service.log package (not
optional import)
2. On a new felix instance I installed the the osgi compendium bundle
that exports the log package
3. Installed obr bundle. The obr bundle gets resolved and could be
started (as expected till now)
4. Uninstalled the cosgi compendium bundle
5. Refreshed packages for obr bundle. But the obr bundle was still
resolved and could be started. This is the part I did not expect.
Is this a known bug? Out of curiosity I did the same on equinox/kf and
as expected on step 5 the obr bundle could not be resolved.
--
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
http://malaysia.jayway.net - New Energy for Projects - Great People
working on Great Projects at Great Places