[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Using p2-agent in non-eclipse systems

Not only is this possibly, it should be remarkably easy :-) (this was one of the big design points behind p2).  Also, if it is an OSGi based system you want to provision into, you can likely use the existing eclipse tool support (some of which is still being developed).

Essentially you need to create p2 based repositories for your bundles (and features).  This can be done in Eclipse using the export wizard. Once done, you can use the director [1] to install the bundles into your system. 

[1] http://wiki.eclipse.org/Equinox_p2_director_application

If you are building an RCP application, then you could even reuse the great install UI that Susan has been working on.  If it is not an RCP application, you can still use the director and possibly even the console commands [2].

[2] http://wiki.eclipse.org/Equinox_p2_Console_Users_Guide

(Note: There is not much at the second link, feel free to add more content to the wiki :-) )

Cheers,
Ian

On Sun, Feb 15, 2009 at 1:37 AM, Sameera Jayasoma <sameera.madushan@xxxxxxxxx> wrote:
Hi,

Here is my scenario. I have a system based on equinox framework and I am planning to provide provisioning capabilities to that system using p2-agent. In the repository, there will be several features and users should be able download and install them using p2-agent. Is it possible to use p2-agent in non-eclipse based systems? If so what are pre-requisites for using p2-agent?\ 

Thanks in advance

--
Sameera Jayasoma


_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev




--
R. Ian Bull, PhD
Software Developer, EclipseSource
http://www.ianbull.com
http://blog.ianbull.com