Making Blueprint working with Gemini JPA and Gemini Naming [message #641534] |
Thu, 25 November 2010 22:18 |
Tommy Messages: 2 Registered: November 2010 |
Junior Member |
|
|
Recently, I played around with Blueprint and everything workked fine. When I tried to integrate Gemini JPA and Gemini Naming, things got a little complicated, I kept having ClassNotFoundException.
After reading GettingStarted and Readme files and exploring Blueprint, Gemini JPA and Gemini Naming bundles, I found that Gemini JPA and Gemini Naming depends on the bundle osgi.enterprise.jar. The bundle osgi.enterprise.jar contains some package including org.osgi.service.blueprint.container and org.osgi.service.blueprint.reflect. While exploring Blueprint bundles, I found that the bundle org.eclipse.gemini.core also exports those 2 packages which is the reason why I had so touble making Gemini JPA and Gemini Naming working with Blueprint.
I would like to know how the content of the bundle osgi.enterprise.jar is going to be handle between Gemini projects? Will Blueprint import the packages org.osgi.service.blueprint.container and org.osgi.service.blueprint.reflect from the bundle osgi.enterprise.jar?
By the way, to make things work, I chose to unpack the bundle org.eclipse.gemini.core and remove complete the packages org.osgi.service.blueprint.container and org.osgi.service.blueprint.reflect, transform the exports of these 2 packages from the MANIFEST.MF into package imports and re-package the bundle org.eclipse.gemini.core. After doing this, I was able to sart a target platform with Blueprint, Gemini JPA and Gemini Naming successfully without any error.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03349 seconds