John E. Conlon wrote:
Here is an update on using the Oscar GUI bundles with felix.
The first thing I tried was an obr deploy to:
obr deploy "Shell Plugin"
Installing: Shell Plugin
Installing dependency: Shell GUI
Installing dependency: Bundle Repository
Installing dependency: Table Layout
That seemed to work and I was able to start the Shell GUI and look at my
bundles.
Now the fly in the ointment was that additional BundleRepository
dependency. I already had one at 2.0.0.alpha2 so I uninstalled the old
one that was added, shutdown and restarted. This caused:
org.osgi.framework.BundleException: Unresolved package in bundle 4:
org.ungoverned.osgi.service.bundlerepository
The issue here is that OBR is going through a transition and hasn't
quite settled down yet.
So I imported the old oscar sources into a couple of projects in my ide
with the thought to tie them into to the new packages and fix up the
manifests. This worked accept for the
org.ungoverned.osgi.bundle.shellplugin.OBRPlugin class. It is dependent
on a
org.ungoverned.osgi.bundle.bundlerepository.BundleRepositoryService
which I do not see an apparent successor in the new org.apache.felix
packages.
This class has been renamed to BundleRepository.
The above is just an update as I don't really need this to continue to
test out the tools. I will probably create a test bundle without the
crippled OBRPlugin and move on for now.
Ok, I just went and quickly modified the sources to solve your issue...I
only had to modify OBRPlugin.java and ShellPlugin.java in the
shellplugin.jar bundle to import the Apache named packages and
everything appears to be working fine now...this was just a quick hack,
but let me know if you have any more issues.
-> richard