Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Oomph and Target Platforms
Oomph and Target Platforms [message #1773958] Sat, 07 October 2017 15:22 Go to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12386
Registered: July 2009
Senior Member
Hi all.

What do i need to do to be able to choose between Oxygen (Release), Oygen (M Builds) and Photon in Xtext.setup as you can find it here:


Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Re: Oomph and Target Platforms [message #1773977 is a reply to message #1773958] Sun, 08 October 2017 04:11 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29653
Registered: July 2009
Senior Member
All that exists in this setup to control the target platform choice is the override of this variable:
<?xml version="1.0" encoding="UTF-8"?>
    label="Target Platform">
  <description>Choose the compatibility level of the target platform</description>

This just sets the default choice but inherits the choices from the project catalog where it is defined like this:
<?xml version="1.0" encoding="UTF-8"?>
    label="Target Platform">
  <choice value="Photon"
      label="Eclipse Photon- 4.8"/>
  <choice value="Oxygen"
      label="Eclipse Oxygen - 4.7"/>
  <choice value="Neon"
      label="Eclipse Neon - 4.6"/>
  <choice value="Mars"
      label="Eclipse Mars - 4.5"/>
  <choice value="Luna"
      label="Eclipse Luna - 4.4"/>
  <choice value="Kepler"
      label="Eclipse Kepler - 4.3"/>
  <choice value="Juno"
      label="Eclipse Juno - 4.2"/>
  <choice value="Indigo"
      label="Eclipse Indigo - 3.7"/>
  <choice value="Helios"
      label="Eclipse Helios - 3.6"/>
  <choice value="Galileo"
      label="Eclipse Galileo - 3.5"/>
  <choice value="None"
  <description>Choose the compatibility level of the target platform</description>

If you want different choices, you have to define that in your override. Note it uses a annotation to mark it as a global variable so that it's saved in the user setup and that choice is reused in the next setup you create (so you'd have to use Show all variables to change it to a different choice the next time).

The value of this variable is used to control which named repository list will be is used by the targlets within your targlet tasks.
<?xml version="1.0" encoding="UTF-8"?>
    name="Xtext Target Platform"

For every choice there should generally be a named list for that choice. I see Photon named lists are missing, but that choice is available in the project catalog. If you change the choices you inherit from the project catalog, keep in mind that the targlets defined in the project catalog only provide lists for the choices defined in the project catalog, so if you define addition named choices e.g., for Oxygen staging or Oxygen milestones, you have to supply the platform/release train update site(s) for that choice in one of your own targlets's named repository lists..
Re: Oomph and Target Platforms [message #1774009 is a reply to message #1773977] Mon, 09 October 2017 07:06 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 639
Registered: July 2009
Location: Dortmund, Germany
Senior Member

Thanks Ed, this is a very useful information.
Previous Topic:What Oomph features include Updater and Authoring Tool?
Next Topic:Excluded Triggers available options
Goto Forum:

Current Time: Thu Nov 15 23:56:05 GMT 2018

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

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

Back to the top