Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » Virgo + Gemini DBAccess + Gemini Blueprint 1 = not possible
Virgo + Gemini DBAccess + Gemini Blueprint 1 = not possible [message #895348] Thu, 12 July 2012 14:16 Go to next message
Charlie Mordant is currently offline Charlie MordantFriend
Messages: 81
Registered: July 2010
Member

Hi,

Gemini DbAccess relies on osgi-enterprise and Gemini blueprint package export are in conflict:
cannot merge imports of package 'org.osgi.service.blueprint.reflect'

That's because Osgi enterprise bundle exports blueprint package.

Is there a way to correct this?

Regards

Re: Virgo + Gemini DBAccess + Gemini Blueprint 1 = not possible [message #895351 is a reply to message #895348] Thu, 12 July 2012 14:23 Go to previous messageGo to next message
Charlie Mordant is currently offline Charlie MordantFriend
Messages: 81
Registered: July 2010
Member

Same for DbAccess (->osgi enterprise) and Gemini JPA (javax.persistence 2.0.4 required by EclipseLink).
Re: Virgo + Gemini DBAccess + Gemini Blueprint 1 = not possible [message #895352 is a reply to message #895351] Thu, 12 July 2012 14:26 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
"cannot merge imports" gives the impression that you are using Virgo's import-bundle (or import-library) to import multiple bundles exporting the same package, which is something to avoid, quite separately from the possible issue of duplicated exports between the osgi-enterprise and Gemini subproject bundles.

[Updated on: Thu, 12 July 2012 14:27]

Report message to a moderator

Re: Virgo + Gemini DBAccess + Gemini Blueprint 1 = not possible [message #895354 is a reply to message #895352] Thu, 12 July 2012 14:32 Go to previous messageGo to next message
Charlie Mordant is currently offline Charlie MordantFriend
Messages: 81
Registered: July 2010
Member

Nope, I'm using their Plan system. In the doc, the limitation is that we can't have two different bundles exporting the same package.

[Updated on: Thu, 12 July 2012 14:39]

Report message to a moderator

Re: Virgo + Gemini DBAccess + Gemini Blueprint 1 = not possible [message #896534 is a reply to message #895354] Wed, 18 July 2012 18:13 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
I see: you are using a scoped plan in Virgo. Then best not to try to include those bundles in it as scoped plans do not support different bundles exporting the same package, as you say. I'd expect to put the OSGi enterprise bundle in the Virgo repository and let it be pulled in if and only if it is needed. If that doesn't help, probably best to continue this discussion over on the Virgo forum.

(Apologies for the lateness of this response - I forgot to subscribe to the thread, grrr.)
Previous Topic:Dynamic persistence units
Next Topic:Gemini Web 2.1.0 RELEASE is now available
Goto Forum:
  


Current Time: Mon Dec 22 07:14:18 GMT 2014

Powered by FUDForum. Page generated in 0.27655 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software