I am evaluating p2 provisiong framework to use in a non-RCP based application. I did some research on how to use p2 for updates. But most of the examples revolve around RCP apps.
We have a standalone OSGI based application (no UI) with bunch of bundles. Some of the bundles change frequently and needs to be updated automatically.
We would like to design a solution where the updated bundles are hosted on a webserver (We would like to use p2 update site method) and the OSGI application automatically picks the changes from the update site whenever a new version is available (Intead of having a user clicking on update link which is common for RCp apps)
I would like to know if my design I am aiming is possible at all with p2. Some pointers on this regards will be appreciated.
On 10/24/2012 01:47 PM, Vijay Reddy wrote:
> Hello,
>
> I am evaluating p2 provisiong framework to use in a non-RCP based
> application. I did some research on how to use p2 for updates. But most
> of the examples revolve around RCP apps.
>
> http://wiki.eclipse.org/Equinox/p2/Adding_Self-Update_to_an_RCP_Application
>
> We have a standalone OSGI based application (no UI) with bunch of
> bundles. Some of the bundles change frequently and needs to be updated
> automatically.
> We would like to design a solution where the updated bundles are hosted
> on a webserver (We would like to use p2 update site method) and the OSGI
> application automatically picks the changes from the update site
> whenever a new version is available (Intead of having a user clicking on
> update link which is common for RCp apps)
>
> I would like to know if my design I am aiming is possible at all with
> p2. Some pointers on this regards will be appreciated.
>
> Vijay
>
>
>