Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EPP » Installing Plugins from Cloud p2 repository
Installing Plugins from Cloud p2 repository [message #892670] Fri, 29 June 2012 06:16 Go to next message
Annamalai Mising name is currently offline Annamalai Mising nameFriend
Messages: 126
Registered: July 2009
Senior Member
I have been recently reading a lot about p2 for a requirement of mine. Most of the p2 documentation online points to p2 for RCP.

My requirement is for a plugin repo. I have a plugin that is used within Eclipse IDE.
I dnt want to change the repo location but based on the Eclipse Version, if the user looks for Install New Software or Check for Updates it needs to download the respective plugins.

My repo currently contains all the plugins for all the versions. but i need to everytime give a different URL to my user based on the Version.

For e.g i am using Eclipse 3.7(Indigo). I install the plugin thru Install New Software by adding the p2 Repo URL. Now the user decides to for some requirement move to Eclipse 3.6, I want him to connect to the same p2 Repo URL and download the plugins created for Eclipse 3.6.

This is definitely possible using p2 Discovery, or i could categorize the downloads using composite repository but i dnt want to do any of these. Just want to kno is there any API that i can hold on to, so that before processing the URL and finding the updates, i can check the version of Eclipse and redirect it based on the version to an internal URL. This is possible in RCP, want to kno if i can do it in Eclipse p2 UI.

All the p2 UI looks to be internal classes. Any directives would be appreciated.

Malai
Re: Installing Plugins from Cloud p2 repository [message #892774 is a reply to message #892670] Fri, 29 June 2012 14:51 Go to previous message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 554
Registered: December 2017
Senior Member
Hi Malai. You should post this question on the rt.equinox forum (where
the p2 developers hang out).

HTH,

Wayne

On 06/29/2012 02:16 AM, Annamalai Mising name wrote:
> I have been recently reading a lot about p2 for a requirement of mine.
> Most of the p2 documentation online points to p2 for RCP.
>
> My requirement is for a plugin repo. I have a plugin that is used within
> Eclipse IDE.
> I dnt want to change the repo location but based on the Eclipse Version,
> if the user looks for Install New Software or Check for Updates it needs
> to download the respective plugins.
>
> My repo currently contains all the plugins for all the versions. but i
> need to everytime give a different URL to my user based on the Version.
>
> For e.g i am using Eclipse 3.7(Indigo). I install the plugin thru
> Install New Software by adding the p2 Repo URL. Now the user decides to
> for some requirement move to Eclipse 3.6, I want him to connect to the
> same p2 Repo URL and download the plugins created for Eclipse 3.6.
>
> This is definitely possible using p2 Discovery, or i could categorize
> the downloads using composite repository but i dnt want to do any of
> these. Just want to kno is there any API that i can hold on to, so that
> before processing the URL and finding the updates, i can check the
> version of Eclipse and redirect it based on the version to an internal
> URL. This is possible in RCP, want to kno if i can do it in Eclipse p2 UI.
>
> All the p2 UI looks to be internal classes. Any directives would be
> appreciated.
>
> Malai
Previous Topic:Building official package locally
Next Topic:unexpected update from Indigo to Juno
Goto Forum:
  


Current Time: Thu Apr 25 21:51:04 GMT 2024

Powered by FUDForum. Page generated in 0.02977 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top