[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Documentation: How to setup p2 to provision custom osgi platform
- From: Madhav Bhargava <unmarshall@xxxxxxxxx>
- Date: Sun, 5 Dec 2010 11:27:14 +0530
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=B94n/OLe8aqAkcCADjWXjw5HvZPIyqwtJ/YOvgwKQI9zTPp/mzCG33sp89kRc9TSXQ tG/hn03DhyyLzSC0nDvjqAIB22ZwwYd164Oy3aIevZV1jD8vvoSBRt7jwL/2szK8kVOn F8Udx7t2NJXZN+2U0ea5ak7bvU4D/LE1CQV7U=
Thanks Jeff for all the help, I will give all this a try and once i am able to work out a installable platform i will contribute back with appropriate documentation so that others benefit from the same.
On Sat, Dec 4, 2010 at 11:55 PM, Jeff McAffer <jeff@xxxxxxxxxxxxxxxxx>
> 1. Can i represent each functionality set as a feature or a profile?feature. profiles are the complete, runnable install.
In Eclipse land you just make a set of features in the PDE editors and export/build them. Tycho may help with the latter steps but I don't know what all they support currently.
> 2. If feature was the way to go then what would be the way to create a feature out of existing osgi bundles using maven?
Suggest you look at the p2 Admin UI and console commands as starting points. There are also many reusable UI pieces supplied by the p2 team.
> 3. We are interested in creating both console and UI for provisioning bundles on our target platform. Our preference would be command line admin functionality and then we would slowly move to UI based admin UI and management console.
At risk of sounding "salesman-like" there is a pretty reasonable discussion and example of this stuff in the OSGi and Equinox book (http://equinoxosgi.org).
When I tell the truth, it is not for the sake of convincing those who do not know it, but for the sake of defending those that do