Ah ok, if you have everything in the same bundle then you should not have any 
import package for the com.mycompany one.

So you have to remove it - you may also check within the MANIFEST.MF that it is 
not present.

JP

-----Message d'origine-----
De : imo [mailto:[email protected]] 
Envoyé : mercredi 9 mars 2016 16:46
À : [email protected]
Objet : RE: Felix+Bkuetooth: Missing requirement?

Well, as i am starting the project, the bundle project has just one package 
with one bundle class, service interface and service implementation all in the 
same package com.mycompany.BTBundle;

It seems that the package needs to export the package for its own consumption 
(during service instantiation)?

Anyway, I have right clicked netbeans dependencies (where there is already the 
bluecove, bluecove-gpl and osgi core) and added the dependency for the artifact 
representing the app bundle. Now the BT bundle is also listed in the 
dependencies node and the project compiles without errors.

However, after uninstall, install and start I see the same error:

org.osgi.framework.BundleException: Unable to resolve com.mycompany.BTBundle 
[21](R 21.0): missing requirement [com.mycompany.BTBundle [21](R 21.0)] 
osgi.wiring.package; (osgi.wiring.package=com.ibm.oti.connection) Unresolved
requirements: [[com.mycompany.BTBundle [21](R 21.0)] osgi.wiring.package; 
(osgi.wiring.package=com.ibm.oti.connection)]





--
View this message in context: 
http://apache-felix.18485.x6.nabble.com/Felix-Bluetooth-Missing-requirement-tp5016686p5016701.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
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]

Reply via email to