Thank you for the links, they're very useful.
intention is to use p2 programatically - not via UI nor command line.
Since now I don't
have any issues running it.
question was more about the coupling between p2 and eclipse. It's ok
to use OSGi bundles that are
distributed with eclipse as long as they have
org.eclipse.equinox in bundle name. What's bothering me is the presence of
org.eclipse.core (i.e) -
by naming I assume that they provide eclipse specific functionality. Such
bundles present in both links you provide.
Anyway, since I don't need to get the whole eclipse in
order to use p2, it's ok for me.
Thanks again for clarifying
An even smaller, platform independent packaging, that contains only
the command line version of the P2 director app can be found
I think that one too should be available from the Equinox download page. It's a
bit awkward that we distribute it from Buckminster.
Pascal Rapicault wrote:
p2 can be run outside of eclipse, however p2 uses some other OSGi bundles
that are delivered as part of eclipse such as the org.eclipse.equinox.common,
org.eclipse.equinox.registry and a few others. This does not mean that you
need a UI nor that you have to bring all of eclipse.
A good place to start
for looking at what p2 needs is to take a look at the p2 installer which is a
few select pieces of p2 plus a very simple SWT based UI. It can be found here:
"Todorova, Katya" ---07/22/2009 12:52:52 PM---Hi
I'm trying to use p2 as a
provisioning system outside eclipse.
I thought is that it would be sufficient to take all the p2
bundles, install them in OSGi framework (started as java -jar
<equinox.jar>) and everything would be just fine. But what I faced is
that p2 bundles require bundles that are part from eclipse (considring bundle
name, i.e org.eclipse.core.runtime.jar).
So I'm wondering if p2 is designed only for eclipse internal
usage? And if not are there any requirements what exactly you need to have on
your system in order to get p2 running? Are there any known limitations with
regards to such usage?
Thanks in advance,
p2-dev mailing list