Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Using EMF with others OSGi (Ways to install Equinox EMF bundles on Felix, Knoplerfish, etc)
Using EMF with others OSGi [message #552922] Sat, 14 August 2010 14:43 Go to next message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
Hi,

I could see that I can use EMF jars standalone. But now I need to use my models in one already installed Felix/OSGi based server.

I would like to know how could I do that.

thanks for any idea.

Cristiano
Re: Using EMF with others OSGi [message #552927 is a reply to message #552922] Sat, 14 August 2010 15:48 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30551
Registered: July 2009
Senior Member
Cristiano,

I have no experience with this. You might ask on a more general
newsgroup, i.e., how can Eclipse bundles be used with Felix? At worst
you can bundle of the jars into Felix OSGi bundles.


Cristiano Gavi wrote:
> Hi,
>
> I could see that I can use EMF jars standalone. But now I need to use
> my models in one already installed Felix/OSGi based server.
>
> I would like to know how could I do that.
>
> thanks for any idea.
>
> Cristiano
Re: Using EMF with others OSGi [message #558627 is a reply to message #552927] Mon, 13 September 2010 17:40 Go to previous message
Steinar Bang is currently offline Steinar BangFriend
Messages: 108
Registered: July 2009
Senior Member
>>>>> Ed Merks <Ed.Merks@gmail.com>:

> I have no experience with this. You might ask on a more general
> newsgroup, i.e., how can Eclipse bundles be used with Felix? At worst
> you can bundle of the jars into Felix OSGi bundles.

If there are differences, they shouldn't be in the bundling as such. A
bundle is just a jar with a manifest with some additional fields,
as defined in the OSGi standard.

The differences would be in what's built on top of OSGi.

E.g. if eclipse bundles are to be loaded, you might need the eclipse
plugin mechanism (which is built on top of OSGi) running and providing
whatever the bundle's bundle-activator tries connecting to.

See here for some OSGi and eclipse plugin explanations:
http://www.ibm.com/developerworks/library/os-ecl-osgi/index. html

So... if the EMF bundle's Import-Package and Require-Bundle dependencies
are all satisfied, and its Bundle-Activator finds what it's looking for,
it should run, barring bugs and version problems.

Note1: satsifying the dependencies for EMF may require a good part of
the eclipse runtime

Note2: I haven't actually _tried_ getting the eclipse bundles to work
in a felix container (I havent worked with OSGi for 2.5 years...;-) )
I suspect there would be a bug or two blocking unless someone have
already tried this. Getting eclipse to run would be a very
comprehensive test for the felix people
Previous Topic:Difference betweeen constraints and Invariants
Next Topic:Contents not loading when using FlatEObjectImpl
Goto Forum:
  


Current Time: Fri Oct 18 19:15:59 GMT 2019

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

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

Back to the top