Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Oomph Installer missing requirement with blank setup product model
Oomph Installer missing requirement with blank setup product model [message #1823049] Wed, 18 March 2020 18:27 Go to next message
Nico Ho is currently offline Nico HoFriend
Messages: 3
Registered: March 2020
Junior Member
Hi,

I am trying to install eclipse 4.13 from Oomph Installer, firstly without any plugins but the eclipse version itself (autogenerated from eclipse IDE when creating a product setup model). Unfortunately, everytime following error occurs:

 ERROR: org.eclipse.equinox.p2.director code=10053 Cannot complete the install because one or more required items could not be found.
  at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.resolve(ProfileTransactionImpl.java:425)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:337)
  at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:758)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3755)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3736)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3629)
  at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.installPerform(SimpleVariablePage.java:1305)
  at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.access$32(SimpleVariablePage.java:1167)
  at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage$20.run(SimpleVariablePage.java:1112)
  ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1584554983581
  ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement: artificial_root 1.0.0.v1584554983581 requires 'org.eclipse.equinox.p2.iu; oomphinstaller.feature.group 0.0.0' but it could not be found


I also tried to install other versions, but the same problem occurs. I already used google to handle the error but nothing worked for me. I deleted the caches, tried using different eclipse versions to create the Oomph setup file, used different working machines (all under win10), etc...

I am new to Oomph Installer, so can anybody explain me, what I am doing wrong?

Kind regards,
Nico
Re: Oomph Installer missing requirement with blank setup product model [message #1823063 is a reply to message #1823049] Thu, 19 March 2020 04:45 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
It's generally best to ask questions about Oomph and the installer on the Oomph forum:

https://www.eclipse.org/forums/index.php/f/287/

Of course I'll see your questions in either place.

I really don't know what you've tried here. You've created your own Product setup? What's in the setup? Of course there exists no oomphinstaller.feature.group, so if you have a p2 director task with that requirement, that's not going to work.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph Installer missing requirement with blank setup product model [message #1823092 is a reply to message #1823063] Thu, 19 March 2020 11:54 Go to previous messageGo to next message
Nico Ho is currently offline Nico HoFriend
Messages: 3
Registered: March 2020
Junior Member
Hey,
Thank you for your answer!

The following is my setup file. I wanted to just try it out and there are no additional plugins but the eclipse installation itself. The name of the file is "oomph".

<?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="oomph"
    label="oomph">
  <annotation
      source="http://www.eclipse.org/oomph/setup/BrandingInfo">
    <detail
        key="folderName">
      <value>eclipse</value>
    </detail>
    <detail
        key="folderName.macosx">
      <value>Eclipse</value>
    </detail>
  </annotation>
  <version name="2019-09"
      label="2019-09"
      requiredJavaVersion="1.8">
    <setupTask
        xsi:type="setup.p2:P2Task"
        label="${scope.product.label} (${scope.product.version.label})">
      <requirement
          name="org.eclipse.platform.ide"/>
      <requirement
          name="org.eclipse.platform.feature.group"/>
      <requirement
          name="org.eclipse.rcp.feature.group"/>
      <requirement
          name="oomph.feature.group"/>
      <repository
          url="http://download.eclipse.org/releases/2019-09"/>
    </setupTask>
    <description>oomph for 2019-09.</description>
  </version>
  <description>oomph provides cool stuff.</description>
</setup:Product>
Re: Oomph Installer missing requirement with blank setup product model [message #1823093 is a reply to message #1823092] Thu, 19 March 2020 12:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
I assume you used the wizard to create it. That's just starting point. You'll need to edit it to make it useful. You'll find lots of examples product definitions here:

https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/setups/org.eclipse.products.setup


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph Installer missing requirement with blank setup product model [message #1823097 is a reply to message #1823093] Thu, 19 March 2020 13:30 Go to previous messageGo to next message
Nico Ho is currently offline Nico HoFriend
Messages: 3
Registered: March 2020
Junior Member
Yes I created it via the wizard. So the wizard creates a setup file from scratch, which is not working? This sounds odd to me.. But thank you for the link, I will have a look and try further.
Re: Oomph Installer missing requirement with blank setup product model [message #1823106 is a reply to message #1823097] Thu, 19 March 2020 14:29 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
It just guesses at names of requirements (makes them up) based on how you named the resource. In the end, we can't create a working Product definition for you. You'll need to specify where your product's update site is located and what you want installed for your product. Creating product definition is not a common activity. Most users create project setups that augment some existing product definition from the Eclipse.org product catalog...

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Upgrading from 2018-12 (4.10.0) to any new release
Next Topic:how can i display more lines of an error in the console?
Goto Forum:
  


Current Time: Thu Dec 05 22:48:08 GMT 2024

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

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

Back to the top