You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Rajini Sivaram <ra...@googlemail.com> on 2008/01/08 15:40:51 UTC

Running Eclipse plugin bundles under Felix

Hello,

I was trying to get Apache Tuscany SDO implementation to run under Felix,
and found that it had dependencies on EMF, which is built as Eclipse
plugins. The bundle manifest entries of the EMF jars use Require-Bundle of
org.eclipse.core.runtime, which in turn requires Equinox. Since I want to
run SDO under Felix (as well as Equinox), I would like to find some way of
running EMF jars under OSGi without requiring Eclipse. I think the classes
loaded from the Eclipse runtime relate to Plugin classes, which are used
(extended) by the bundle activator for EMF.

At the moment, I am modifying the EMF jars on the fly to remove the
Require-Bundle and Bundle-Activator entries from the manifest file before
installing the jars in Felix. Is there a better way to run EMF (or other
Eclipse plugins which provide reusable classes) under a non-Equinox OSGi
environment without installing Eclipse? I would ideally like to have a
single EMF jar file which supports both Equinox and Felix.

Suggestions?


Thank you...

Regards,

Rajini

Re: Running Eclipse plugin bundles under Felix

Posted by Stuart McCulloch <st...@jayway.net>.
On 08/01/2008, Rajini Sivaram <ra...@googlemail.com> wrote:
>
> Hello,


Hi Rajini,

I was trying to get Apache Tuscany SDO implementation to run under Felix,
> and found that it had dependencies on EMF, which is built as Eclipse
> plugins. The bundle manifest entries of the EMF jars use Require-Bundle of
> org.eclipse.core.runtime, which in turn requires Equinox. Since I want to
> run SDO under Felix (as well as Equinox), I would like to find some way of
> running EMF jars under OSGi without requiring Eclipse. I think the classes
> loaded from the Eclipse runtime relate to Plugin classes, which are used
> (extended) by the bundle activator for EMF.
>
> At the moment, I am modifying the EMF jars on the fly to remove the
> Require-Bundle and Bundle-Activator entries from the manifest file before
> installing the jars in Felix. Is there a better way to run EMF (or other
> Eclipse plugins which provide reusable classes) under a non-Equinox OSGi
> environment without installing Eclipse? I would ideally like to have a
> single EMF jar file which supports both Equinox and Felix.
>
> Suggestions?


for now I think modifying the EMF jars is the easiest solution - ideally the
EMF
team will remove the Require-Bundle in a future release, which looks hopeful
given the recent responses to the osgi-dev list...

Thank you...
>
> Regards,
>
> Rajini
>



-- 
Cheers, Stuart