[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Documentation and P2 in another OSGi framework implementation


> > 2. p2 should be able to run on other frameworks, however I think we have a
> > few ties with equinox in a few places of our code.
>
> There are. The first I encounter, which is a show stopper for now, is
> that p2 core requires bundle org.eclipse.equinox.common (requires
> bundle really needed?) that imports packages exported by
> org.eclipse.osgi. As this is main equinox bundle it will also export
> the osgi packages and the problems starts :). But this was just a
> first,short attempt to run it in felix/kf.

As far as I remember the dependency from common to equinox should be optional. If they are not this is a bug since a while back we intended to have common be usable in other fwks and standalone.


> > As for provisioning other frameworks, it is something that p2 is designed to
> > address through the org.eclipse.equinox.frameworkadmin abstraction
> > (http://wiki.eclipse.org/Equinox_FrameworkAdmin this doc may be slightly out
> > of sync) but we have not pushed this aspect forward for lack of time and
> > need.

Actually I now remember that 2 years ago we had written a proof of concept implementation of frameworkadmin for felix and kf. You can find the code in cvsroot eclipse under equinox-incubator.

> >
> > PaScaL
> >
> > Alin Dreghiciu ---02/04/2009 08:09:58 AM---Hi guys, I have some questions
> > related to P2:
> >
> >
> > From:
> > Alin Dreghiciu <adreghiciu@xxxxxxxxx>
> > To:
> > Equinox - P2 <p2-dev@xxxxxxxxxxx>
> > Date:
> > 02/04/2009 08:09 AM
> > Subject:
> > [p2-dev] Documentation and P2 in another OSGi framework implementation
> > ________________________________
> >
> >
> > Hi guys,
> >
> > I have some questions related to P2:
> >
> > 1. I was searching for detailed documentation about P2 but seems like
> > I'm not able to find to much about. What I'm interesting in is about
> > what is the purpose of each P2 bundle, description of the main
> > concepts, description of services provided/consumed (required) by P2,
> > a getting started guide for using P2 from java (not command line),
> > examples, minim set of bundles required by P2 to be used, ...
> > So my question: is such a documentation available? If yes, can you
> > please point me to it?
> >
> > 2. Is P2 meant to be able to run within other OSGi framework
> > implementation beside Equinox? Or are there such plans for the future?
> >
> > --
> > Alin Dreghiciu
> > http://www.ops4j.org             - New Energy for OSS Communities -
> > Open Participation Software.
> > http://www.qi4j.org                - New Energy for Java - Domain
> > Driven Development.
> > http://www.codedragons.com
> >  - New Energy for Projects - Great People
> > working on Great Projects at Great Places
> > _______________________________________________
> > p2-dev mailing list
> > p2-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/p2-dev
> >
> >
> >
> > _______________________________________________
> > p2-dev mailing list
> > p2-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/p2-dev
> >
> >
>
>
>
> --
> Alin Dreghiciu
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven Development.
> http://www.codedragons.com - New Energy for Projects - Great People
> working on Great Projects at Great Places
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev