Skip to main content



      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 16:56 Go to next message
Eclipse UserFriend
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 12:26 Go to previous messageGo to next message
Eclipse UserFriend
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 05:39 Go to previous messageGo to next message
Eclipse UserFriend
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 07:25 Go to previous messageGo to next message
Eclipse UserFriend
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 13:29 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 21:10:17 EDT 2025

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

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

Back to the top