Resolution failed
Processing errors: OK (I always get OK when resolution fails, and double clicking doesn't show anything)
Unresolved Requirements:
(symbolicname=javax.activation) «initial»
(&(package=javax.activation)) javax.mail.glassfish/1.4.1.v201005082020
(&(symbolicname=system.bundle)) javax.activation/1.1.0.v201105071233
Resolution failed
Processing errors: OK (I always get OK when resolution fails, and double clicking doesn't show anything)
Unresolved Requirements:
(symbolicname=javax.mail.glassfish) «initial»
(symbolicname=javax.activation) «initial»
(&(package=javax.activation)) javax.mail.glassfish/1.4.1.v201005082020
(&(symbolicname=system.bundle)) javax.activation/1.1.0.v201105071233
First, note that the resolution failure reporting in the next version of Bndtools is going to be a LOT better... you could check this out of GitHub if you're feeling brave ;-)
In the first case, I'm really not sure why the javax.mail.glassfish bundle is being added to the requirements. Are you absolutely sure that the Run Requirements list does not contain this bundle?
The root of the problem though is that bundle javax.activation has a Require-Bundle dependency on "system.bundle". There is a bug in the Felix resolver in this area: "system.bundle" is an alias for the OSGi Framework, which in reality will have the symbolic name of "org.eclipse.osgi" or "org.apache.felix.framework" etc, depending on which specific OSGi framework you choose. The resolver should recognise the alias as a special case.
The following bug in the Bndtools issue tracker is tracking the issue: https://github.com/bndtools/bndtools/issues/new
Since that issue was first raised, we actually are using a forked version of the Felix resolver in Bndtools, so the problem is fixed, but unfortunately not yet in the released Bndtools. In the meantime I'm not aware of any good workaround other than patching the javax.activation bundle so that it depends on a specific framework BSN rather than the system.bundle alias. Yes this sucks... sorry.
Neil
Thanks for your fast response :)The Run Requirements was totally empty, except for those requirements. I've been trying to add a lot of jars for two days now, and finally I decided to remove everything and start with those that gave me problems in the past, so maybe it's some cache issues or whatever. In the end, I've decided to avoid Run Requirements for now, and add directly everything on Run Bundles, check errors on gogo and add missing bundles. At least, I can work that way.Another issue I have is the problem with projects not being near /cnf folder, as we have a big Perforce tree with lots of projects, and cannot really move those, so I'm getting lots of errors if I dare touching those projects :) Don't know if it has to do with nothing, but just in case.I'll try to use the new GitHub version to see the changes :)Thanks a lot!
On Thursday, May 24, 2012 2:28:38 PM UTC+2, Neil Bartlett wrote:
First, note that the resolution failure reporting in the next version of Bndtools is going to be a LOT better... you could check this out of GitHub if you're feeling brave ;-)
In the first case, I'm really not sure why the javax.mail.glassfish bundle is being added to the requirements. Are you absolutely sure that the Run Requirements list does not contain this bundle?
The root of the problem though is that bundle javax.activation has a Require-Bundle dependency on "system.bundle". There is a bug in the Felix resolver in this area: "system.bundle" is an alias for the OSGi Framework, which in reality will have the symbolic name of "org.eclipse.osgi" or "org.apache.felix.framework" etc, depending on which specific OSGi framework you choose. The resolver should recognise the alias as a special case.
The following bug in the Bndtools issue tracker is tracking the issue: https://github.com/bndtools/bndtools/issues/new
Since that issue was first raised, we actually are using a forked version of the Felix resolver in Bndtools, so the problem is fixed, but unfortunately not yet in the released Bndtools. In the meantime I'm not aware of any good workaround other than patching the javax.activation bundle so that it depends on a specific framework BSN rather than the system.bundle alias. Yes this sucks... sorry.
Neil
24 May 2012 08:58