Skip to main content

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

Hi Ian,

Thanks a lot for the reply. I will have a look at those documents and get back to you, if I need further information. ;)

Thanks
Sameera

On Mon, Feb 16, 2009 at 10:05 AM, Ian Bull <irbull@xxxxxxxxxxxxxxxxx> wrote:
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].


(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

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




--
Sameera Jayasoma
Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://tech.jayasoma.org

Back to the top