Tai Truong
Tue, 02 Feb 2010 02:40:18 -0800
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: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org
-- Tai Truong Dip. of BA w/ a maj. in BI CEO AlienSource Ltd. lia. Co Open Source, Java and Resource Planning Bahnweg 1 CH-4614 Hägendorf Mobile: +41-78-861-4002 Web: AlienSource.org _____________________________________________________________________________________________ CONFIDENTIALITY. This email and any attachments are confidential and may also be privileged. If received in error, please do not disclose the contents to anyone, but notify the sender by return email and delete this email (and any attachments) from your system. _____________________________________________________________________________________________
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org
- Tutorial 2b: Unresolved constraint in bundle tutorial.example2b Tai Truong
- Re: Tutorial 2b: Unresolved constraint in bundle tutorial.example2b Tai Truong
- Re: Tutorial 2b: Unresolved constraint in bundle tutorial.example2b Vadeg
Re: Tutorial 2b: Unresolved constraint in bundle tutorial.example2b Tai Truong