Rick
As a point of interest, you should be able to use the Equinox Supplement
bundle
http://www.eclipse.org/equinox/bundles#supplement
rather than org.eclipse.osgi. This bundle is designed to supply the bits
of the Equinox framework that are needed in other OSGi scenarios.
I believe some folks in Equinox land have gotten the registry working on
Knopflerfish. Not sure if they have tried Felix. Perhaps you should ask
on the equinox newsgroup for some guidance. I'm sure they would be happy
to compare notes
Jeff
"Rick Litton" <[EMAIL PROTECTED]>
12/08/2006 01:57 PM
Please respond to
[email protected]
To
<[email protected]>
cc
Subject
Felix and Eclipse PDE roadblock
I'm still trying to get the extension points registry to work in Felix
and unfortunately, I have hit a roadblock. After trying out several
combinations and pruning the eclipse core bundle (as Richard Hall has
suggested) to remove redundant osgi core classes, I have created the
following dependency graph to help illustrate the problem:
/---> org.osgi.compendium
|
| (requires: org.osgi.util.tracker package)
|
|---> org.osgi.core
|
| (requires: org.osgi.service.permissionadmin package)
|
| org.eclipse.osgi_3.2.1R32x <----\
| ^ |
| (requires:|org.eclipse.osgi.service.urlconversion package)
| | |
|---- org.eclipse.equinox.common |
| ^ |
| | |
| | |
\---- org.eclipse.equinox.registry |
| |
| |
\---------------------/
(requires: org.eclipse.osgi.service.datalocation package)
I hope the graph is displayed correctly by your mail client. Anyhow, I
was getting quite a few BundleExceptions "Unable to resolve due to
constraint violation"). So I removed all the optional bundles and
proceeded to test each one. Immediately, the BundleException came up
after I had just added/started the org.osgi.core bundle. I certainly
would welcome any suggestion to resolve this problem.
Rick Litton