Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Probably dumb question: How do I determine p2 url for plugin from marketplace?
Probably dumb question: How do I determine p2 url for plugin from marketplace? [message #1808707] Fri, 28 June 2019 22:50 Go to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 613
Registered: July 2009
Senior Member
I'm using 2019-06, and I'm starting to experiment with building an Oomph profile for my current configuration. I'm following the instructions at https://wiki.eclipse.org/Eclipse_Oomph_Authoring .

The section on installing plugins has this statement:

3. in the Properties of the Repository set the URL to a valid p2 repo (e.g. http://update.eclemma.org) 


This seems trivial, but how exactly do I determine the p2 URL for any particular plugin? In my setup, I'm going to be installing some plugins from the predefined update sites (Docker tooling, for instance), some third-party plugins (Spring IDE, Groovy, MoreUnit, and a couple of others). I'm installing most of the third-party plugins from the Marketplace. For any particular marketplace plugin, how do I determine what the p2 repository URL is?
Re: Probably dumb question: How do I determine p2 url for plugin from marketplace? [message #1808709 is a reply to message #1808707] Sat, 29 June 2019 06:55 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6444
Registered: July 2009
Senior Member
I know of no trivially easy way, but this does work:

1) Open the marketplace solution page in your browser, e.g., https://marketplace.eclipse.org/content/cdo-model-repository
2) Hover the "Install" button and note the URL, e.g., http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=573
3) Change the browser address to http://marketplace.eclipse.org/node/[mpc_install]/api/p and change [mpc_install] to the number from at the end of 2), e.g., http://marketplace.eclipse.org/node/573/api/p
4) In the resulting XML page search for the <updateurl> element. It contains the address of the p2 repository.

Note that the <iu> elements contain the feature names in that p2 repository, but it appears that you need to suffix them with ".feature.group" if you want to use them in p2 Director requirements.


Re: Probably dumb question: How do I determine p2 url for plugin from marketplace? [message #1808711 is a reply to message #1808709] Sat, 29 June 2019 09:21 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30450
Registered: July 2009
Senior Member
FYI, I'm working on a drag-and-drop solution to automate the creation of a p2 task (and/or to update a p2 task) simply by dragging the same install URL into the setup editor. It's mostly working already but Git/Gerrit is down again...
Previous Topic:P2 Director dependency at recent version
Next Topic:DefaultProfile.profile\.lock (Access is denied)
Goto Forum:
  


Current Time: Wed Sep 18 19:50:20 GMT 2019

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

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

Back to the top