[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] How to get agent and profile object using p2 API
- From: Nayna Jain <jainnayna@xxxxxxxxx>
- Date: Fri, 6 Aug 2010 20:17:38 +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=hdivwlmZAr0E1uNrOZPNP0n+iUt1YRai4AcbWk9GDVhRJ2hyz1+SrEO/0vp5ifbwH+ U3lUVt1U7zg/xABJ1bPZRcwZTknj0VgcXwwkCC954o6Id0nY5d+nGpQu8xCpm1Tb+TcZ TZxJC6msxLpnsdl2cgqCGjrnQezd4lIwZVgJ8=
I have one doubt in this.
It seems like it is developed as a plugin. So, how do you execute this updater.
Is it used as a plugin to some other application.
Actually, I want to develop an installer based on p2 as an independent
standalone command line application.
So, in that case how do I get the bundle context and then Service Reference
Because in case of plugin, we have an Activator class which has
start(BundleContext context) method through which we can get the
But in case of standalone Java Application, how should I get it ?
Thanks & Regards,
- Nayna Jain
On 8/6/10, Todorova, Katya <katya.todorova@xxxxxxx> wrote:
> Here is the source of a simple installer using p2:
> You can use it as a reference:
> p2_minimal_src.zip.sda\equinox.p2\com.sap.p2.updater\ - this is the actual
> installer source path in the downloaded archive.
> I hope this helps.
> Kind regards,
> From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
> Behalf Of Nayna Jain
> Sent: Thursday, August 05, 2010 7:40 PM
> To: p2-dev@xxxxxxxxxxx
> Subject: [p2-dev] How to get agent and profile object using p2 API
> Hi everybody,
> I am trying to use p2 APIs to create a simple installer for my customized
> eclipse install.
> Can someone help me with the starting point for getting the agent object and
> then calling install API.
> Thanks & Regards,
> - Nayna Jain
> Don't believe the fear, uncertainity and doubts from people that have never
> tried it.
Don't believe the fear, uncertainity and doubts from people that have
never tried it.