For whatever reason my eclipse IDE has a problem with that project. So
what I did is to create another project "tutorial.exampleTWObee" instead
of "tutorial.example2b" and it works now?!
Before I even tried in the run configurations under "settings>clear the
configuration area before launching" but it didn't help.
I keep on going but his is weird though. It is just annoying that
eclipse and felix aren't working smooth together. Hmm, maybe I should
give equinox a shot.
Tai Truong wrote:
Yes. As described in example 2's manifest:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Example2
Bundle-SymbolicName: tutorial.example2
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: tutorial.example2.Activator
Import-Package: org.osgi.framework
Export-Package: tutorial.example2.service
Vadeg wrote:
Do you have a bundle with Export-Package: tutorial.example2.service ?
Tai Truong wrote:
Hi,
I am trying to run the tutorials. So far the tutorials1, 2 and 3 are
working fine. But when I start example 2b along with the other 3
examples I get this message:
org.osgi.framework.BundleException: Unresolved constraint in bundle
tutorial.example2b [1]: package; (package=tutorial.example2.service)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:619)
I am using PaxRunner under Eclipse 3.5 and my manifest.mf looks like
this:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Example3
Bundle-SymbolicName: tutorial.example3
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: tutorial.example3.Activator
Import-Package: org.osgi.framework, tutorial.example2.service
Can somebody tell where the problem is?
Thanks Tai
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]