Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse RT (runtime) » Installing Plugins from Cloud p2 repository in Eclipse IDE
Installing Plugins from Cloud p2 repository in Eclipse IDE [message #892776] Fri, 29 June 2012 15:10
Annamalai Chockalingam is currently offline Annamalai ChockalingamFriend
Messages: 73
Registered: July 2009
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
Previous Topic:Eclipse shut down immediately after startup
Next Topic:Classloader not find the classes in a JAR into a plugin project at runtime
Goto Forum:
  


Current Time: Thu Dec 18 22:36:43 GMT 2014

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

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