Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Requirement for org.eclipse.oomph.setup.feature.group missing on custom install
Requirement for org.eclipse.oomph.setup.feature.group missing on custom install [message #1843545] Thu, 05 August 2021 12:47 Go to next message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
We have a 2021-06 based setup minus some M2E dependencies (because Greclipse has conflicts with M2E logback feature and we don't use M2E).

Features removed from the Eclipse product:

  • org.eclipse.m2e.feature.feature.group
  • org.eclipse.m2e.lemminx.feature.feature.group
  • org.eclipse.m2e.logback.feature.feature.group
  • org.eclipse.mylyn.wikitext_feature.feature.group

<?xml version="1.0" encoding="UTF-8"?>
<setup:Product
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0"
    name="qivicon.ide"
    label="Custom IDE">
  <version name="latest.released"
      label="Latest (2021-06)"
      requiredJavaVersion="11">
    <annotation
        source="http://www.eclipse.org/oomph/setup/BrandingInfo">
      <detail
          key="siteURI">
        <value>https://www.eclipse.org/downloads/packages/release/2021-06/m2/eclipse-ide-java-developers</value>
      </detail>
      <detail
          key="shortcut">
        <value>Eclipse IDE for Java Developers - 2021-06</value>
      </detail>
    </annotation>
    <setupTask
        xsi:type="setup.p2:P2Task"
        label="Eclipse IDE for Java Developers (2021-06)">
      <requirement
          name="epp.package.java"
          versionRange="[4.20.0,4.21.0)"/>
      <requirement
          name="org.eclipse.platform.feature.group"
          versionRange="[4.20.0,4.21.0)"/>
      <requirement
          name="org.eclipse.rcp.feature.group"
          versionRange="[4.20.0,4.21.0)"/>
      <requirement
          name="org.eclipse.buildship.feature.group"/>
      <requirement
          name="org.eclipse.eclemma.feature.feature.group"/>
      <requirement
          name="org.eclipse.egit.feature.group"/>
      <requirement
          name="org.eclipse.epp.mpc.feature.group"/>
      <requirement
          name="org.eclipse.jdt.feature.group"/>
      <requirement
          name="org.eclipse.jgit.feature.group"/>
      <requirement
          name="org.eclipse.tips.feature.feature.group"/>
      <requirement
          name="org.eclipse.tm.terminal.feature.feature.group"/>
      <requirement
          name="org.eclipse.wildwebdeveloper.xml.feature.feature.group"/>
      <repository
          url="http://download.eclipse.org/technology/epp/packages/2021-06/"/>
      <repository
          url="http://download.eclipse.org/releases/2021-06/">
        <annotation
            source="http://www.eclipse.org/oomph/setup/ReleaseTrain"/>
      </repository>
    </setupTask>
  </version>
</setup:Product>


Scenario 1:
When using that product alone no Oomph features get installed.
Using the installed Eclipse to install "org.eclipse.oomph.setup.feature.group" does not show any addtional missing dependecies beside Oomph setup itself.

Scenario 2:
In addition to the product we make use of a project which defines additional setting and plugins.
After installation we saw the setup tasks not being executed.
Further investigation showed that "org.eclipse.oomph.setup.feature.group" was not get installed but these were:

  • org.eclipse.oomph.setup.jdt.feature.group
  • org.eclipse.oomph.setup.pde.feature.group
  • org.eclipse.oomph.setup.targlets.feature.group
  • org.eclipse.oomph.targlets.feature.group


Again using the installed Eclipse to install "org.eclipse.oomph.setup.feature.group" does not show any missing dependecies and installs without issues.

Scenario 3:
Having added a
  <setupTask
      xsi:type="setup.p2:P2Task"
      label="Oomph"
      licenseConfirmationDisabled="true">
    <requirement
        name="org.eclipse.oomph.setup.feature.group"/>
  </setupTask>
makes things work again but still additionally installs

  • org.eclipse.oomph.setup.jdt.feature.group
  • org.eclipse.oomph.setup.pde.feature.group
  • org.eclipse.oomph.setup.targlets.feature.group
  • org.eclipse.oomph.targlets.feature.group


I'm wondering what is going wrong... or better why the requirement for the Oomph setup gets missing and other Oomph "stuff" gets installed.
All this done with 1.22.0 Build 5141 and latest from https://www.eclipse.org/downloads/packages/installer (which is 1.21.0 Build 5141).

Re: Requirement for org.eclipse.oomph.setup.feature.group missing on custom install [message #1843551 is a reply to message #1843545] Thu, 05 August 2021 15:06 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Note that the generated product catalog has this p2 task in it:
<?xml version="1.0" encoding="UTF-8"?>
<setup.p2:P2Task
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0">
  <requirement
      name="org.eclipse.oomph.setup.feature.group"/>
  <repository
      url="${oomph.update.url}"/>
</setup.p2:P2Task>
So all products will include at least the Oomph setup feature.

In addition to this, depending on which task are used in the setup, the implementing features of those tasks will also be installed. This information comes from the "enablement" annotations in the Ecore model from which the task is generated, e.g.,

https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/setups/models/JDT.ecore#n7

So if you have a JRE task that needs to be performed, the org.eclipse.oomph.setup.jdt.feature.group will be installed.


Ed Merks
Professional Support: https://www.macromodeling.com/

[Updated on: Thu, 05 August 2021 15:16]

Report message to a moderator

Previous Topic:Eclipse maven archetype catalog
Next Topic:Perform Setup Tasks/Open User disappears after recent update
Goto Forum:
  


Current Time: Thu Apr 25 12:56:19 GMT 2024

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

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

Back to the top