Skip to main content



      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 18:50 Go to next message
Eclipse UserFriend
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 02:55 Go to previous messageGo to next message
Eclipse UserFriend
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 05:21 Go to previous messageGo to next message
Eclipse UserFriend
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...
Re: Probably dumb question: How do I determine p2 url for plugin from marketplace? [message #1816999 is a reply to message #1808709] Wed, 13 November 2019 09:46 Go to previous messageGo to next message
Eclipse UserFriend
Thank you very much.
Re: Probably dumb question: How do I determine p2 url for plugin from marketplace? [message #1817007 is a reply to message #1816999] Wed, 13 November 2019 11:34 Go to previous message
Eclipse UserFriend
Note that drag and drop now works. I.e., you can drag a URL such as https://marketplace.eclipse.org/content/viplugin and drop it into a setup editor. The URL "induces" a resource with a Macro containing a p2 task with the appropriate update sites and IUs...
Previous Topic:Upgrading install to 2019-12
Next Topic:recommended way to reset all user preferences
Goto Forum:
  


Current Time: Fri Jul 25 17:56:31 EDT 2025

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

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

Back to the top