|Re: [p2-dev] How to get agent and profile object using p2 API|
Hi Katya, Thanks !! 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 BundleContext object. 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: > Hi, > > Here is the source of a simple installer using p2: > https://sapmats-de.sap-ag.de/download/download.cgi?id=890MWEA401A9TG27HR37WH1IGD12ATHMSDFNQE8MMA587CQ0E3 > > 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, > Katya > > > ________________________________ > 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.
Back to the top