Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Setup Task enablement and eclipse version dependent update sites
Setup Task enablement and eclipse version dependent update sites [message #1809014] Fri, 05 July 2019 20:56 Go to next message
Christian Fränkel is currently offline Christian FränkelFriend
Messages: 3
Registered: July 2019
Junior Member
I'm working on a pull request for an oomph buildship import setup task (see https://github.com/eclipse/buildship/pull/892 ).

Whats missing right now is the enablement annotation. Buildship has eclipse version specific update sites (https://download.eclipse.org/buildship/updates/) . I'm not sure if it is ok to just plug in the e411 update site into the enablement annotations or if that will mess stuff up.

Is there maybe an option to use an eclipse version specific variable in the enablement annotation?
Re: Setup Task enablement and eclipse version dependent update sites [message #1809278 is a reply to message #1809014] Fri, 12 July 2019 16:26 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30449
Registered: July 2009
Senior Member
Likely it would be better if the update site that contains your task would be a composite so that you can update the composite to point at a new buildship update site when appropriate without changing the model itself.
Re: Setup Task enablement and eclipse version dependent update sites [message #1809331 is a reply to message #1809278] Sat, 13 July 2019 09:39 Go to previous messageGo to next message
Christian Fränkel is currently offline Christian FränkelFriend
Messages: 3
Registered: July 2019
Junior Member
In this case that would probably be a composite that always points to the latest eclipse version specific update site.

I have very little knowledge of EMF so I was hoping there might be a built in replacement function during generation that I could use to fill in the matching update site URL for the eclipse version buildship is building against.
Re: Setup Task enablement and eclipse version dependent update sites [message #1809337 is a reply to message #1809331] Sat, 13 July 2019 11:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30449
Registered: July 2009
Senior Member
No, you'd have to edit the *.ecore file to change the value and regenerate. And of course the all-shipped plugins will have the old value so really best you point at a stable permanent composite location so you can change it dynamically at any time.
Re: Setup Task enablement and eclipse version dependent update sites [message #1809607 is a reply to message #1809337] Thu, 18 July 2019 17:29 Go to previous message
Christian Fränkel is currently offline Christian FränkelFriend
Messages: 3
Registered: July 2019
Junior Member
Thanks for the help, we'll add a composite update site and point the enablement annotation at it.
Previous Topic:Oomph: how to update local .setup to the recent remote version
Next Topic:Open a file during the setup
Goto Forum:
  


Current Time: Wed Sep 18 05:21:06 GMT 2019

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

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

Back to the top