Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] How to build a product that includes P2 support, but is only executed on the console

Hi Juergen!

I've created the same just a few weeks ago.

First you have to create a product definition file - there you have to include:
=> Required P2 plugins (i've created a separate feature for them and included all of the p2 plugins there - excluding source plugins of course)
=> Include eclipse dependencies (take a look at the p2 agent distribution to get the required plugins - you can find it at http://download.eclipse.org/equinox/ )
=> Include your own required features

I recommend you use the release I20100414-1200 as 3.6M6 got some nasty bugs if you're working with p2 and the more recent versions got a NPE in product export (at least in my case...) :-)

After that - export your product and select the "Generate metadata repository" flag in the export wizard. This will generate a p2 enabled product and a repository.

-

I just saw that jeff recommended the OSGi and equinox book - i recommend it also as it gives you detailed information on the whole topic.

greetings,
Michael


Am 20.04.2010 um 16:39 schrieb Jürgen Kindler:

Hi all,

I would like to use the PDE build to create a standalone server product that supports provisioning.

Basically I would like to reuse the p2 configuration stuff a product usually supports
(profiles & startup of installed bundles from the p2 ( configuration/org.eclipse.equinox.simpleconfigurator/ ).

Apart from that I could live without a native starter as the server does not provide a GUI.

Any hints/directions what I have to do?
--
Juergen Kindler
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


Back to the top