|Bundle dependency problems [message #584971]
||Thu, 13 November 2008 15:52
| Christoph JÃ¤ger
Registered: July 2009
I have created some bundles to build an RCP application. In these bundles,
I use some third party libraries, like spring (and all of those things
they depend on). I managed to get a working RCP application with SpringDM.
For including the third party libraries, I use the bundles provided by the
springsource osgi bundle repository (they work nicely most of the time).
Now my application needs some knowledge about hibernate. My target
platform contains the necessary bundles (I created a bundle for using it
on the server side, it uses hibernate, and compiles and exports without
So I add the hibernate bundle to the dependencies of my RCP application.
Now, when I try to start the application (either from "Testing -> Launch
an Eclipse application" in plugin.xml, or from the production definition),
I get the following error message:
Package uses conflict: Require-Bundle: com.springsource.org.hibernate;
Starting from plugin.xml, I get this in a dialog titled "Validation", and
from the product definition, the splash screen comes up, then the program
stops and I find above error message in the generated log file.
The hibernate bundle is there, I can use it from a different bundle. I can
add it to the dependencies, I can double click it there and see the
Manifest. But for some reason, Eclipse can not resolve it during
validation for starting the RCP application. The problem is, besides the
error message above, I do not see any hints as to what went wrong.
Any ideas? Where do I have to look?
Powered by FUDForum
. Page generated in 0.04339 seconds