Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Greclipse installation fails with Oomph but works from IDE
Greclipse installation fails with Oomph but works from IDE [message #1833689] Wed, 21 October 2020 15:32 Go to next message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
We are using on Java8 so I wanted to update our inhouse configuration to the latest version supporting it: 2020-06.

While trying to install we encounterend dependency errors. The culprit seems to be Greclispe but surprisingly it is not an issue to install it after Ommph has created an Eclipse installation.
To avoid any side-effects due to other configurations I created minimal setup file as a MWE to reproduce the issue.

Works:


Fails:

  • Select 2020-06
  • Select "Develop" from attached setup file
  • try installing using Ooomph


Executing bootstrap tasks
Java(TM) SE Runtime Environment 1.8.0_201-b09
Product org.eclipse.products.epp.package.java.2020-06
Workspace Z:\testName-develop6\ws
Project org.eclipse.user.project.testName.develop.develop
Bundle org.eclipse.oomph.setup 1.18.0.v20200820-0414, build=4863, branch=4eebbd98a241594f8be50ea65de102ee5f728ad8
Bundle org.eclipse.oomph.setup.core 1.18.0.v20200624-1156, build=4747, branch=6100b2bcb07b989fbc86c13817ea48e979f9a7be
Bundle org.eclipse.oomph.setup.installer 1.19.0.v20200924-0600, build=4863, branch=4eebbd98a241594f8be50ea65de102ee5f728ad8
Bundle org.eclipse.oomph.setup.p2 1.16.0.v20200814-1205, build=4863, branch=4eebbd98a241594f8be50ea65de102ee5f728ad8
Performing Workspace Z:\testName-develop6\ws
Performing P2 Director (Eclipse IDE for Java Developers (2020-06) + GRECLIPSE)
Offline = false
Mirrors = true
Resolving 20 requirements from 4 repositoriesto Z:\testName-develop6\eclipse
Requirement org.eclipse.equinox.p2.iu:org.codehaus.groovy.eclipse.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:epp.package.java [4.16.0,5.0.0)
Requirement org.eclipse.equinox.p2.iu:org.eclipse.platform.feature.group [4.16.0,5.0.0)
Requirement org.eclipse.equinox.p2.iu:org.eclipse.rcp.feature.group [4.16.0,5.0.0)
Requirement org.eclipse.equinox.p2.iu:org.eclipse.buildship.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.eclemma.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.egit.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.epp.mpc.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.jdt.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.jgit.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.lemminx.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.logback.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.mylyn.wikitext_feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.tips.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.wildwebdeveloper.xml.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.targlets.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.targlets.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.pde.feature.group
Repository https://dist.springsource.org/release/GRECLIPSE/3.8.0/e4.16/
Repository http://download.eclipse.org/technology/epp/packages/2020-06
Repository http://download.eclipse.org/releases/2020-06/202006171000
Repository http://download.eclipse.org/oomph/updates/milestone/latest
Adding repository https://dist.springsource.org/release/GRECLIPSE/3.8.0/e4.16/
Adding repository http://download.eclipse.org/oomph/updates/milestone/latest
Adding repository http://download.eclipse.org/releases/2020-06/202006171000
Adding repository http://download.eclipse.org/technology/epp/packages/2020-06
Calculating requirements and dependencies.
Cannot complete the request.  Generating details.
ERROR: org.eclipse.equinox.p2.director code=10054 Cannot complete the install because of a conflicting dependency.
  at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:291)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.resolve(ProfileTransactionImpl.java:428)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:340)
  at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:899)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3828)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3756)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3737)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3630)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:593)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:720)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
  ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1603293695280
  ERROR: org.eclipse.equinox.p2.director code=1 Only one of the following can be installed at once: 
    ERROR: org.eclipse.equinox.p2.director code=0 Object Teams Development Tooling Core 3.22.0.OTDT_r281_202006091155 (org.eclipse.jdt.core 3.22.0.OTDT_r281_202006091155)
    ERROR: org.eclipse.equinox.p2.director code=0 Java Development Tools Core 3.22.0.v20200530-2032 (org.eclipse.jdt.core 3.22.0.v20200530-2032)
    ERROR: org.eclipse.equinox.p2.director code=0 org.eclipse.jdt.core 3.22.0.v202006301451-e2006-RELEASE
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1603293695280
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.eclipse.feature.feature.group 0.0.0
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1603293695280
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.jdt.feature.group 0.0.0
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1603293695280
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.mylyn.wikitext_feature.feature.group 0.0.0
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Compilerless feature 3.8.0.v202006301451-e2006-RELEASE (org.codehaus.groovy.compilerless.feature.feature.group 3.8.0.v202006301451-e2006-RELEASE)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.headless.feature.feature.group [3.8.0.v202006301451-e2006-RELEASE,3.8.0.v202006301451-e2006-RELEASE]
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Eclipse Groovy Development Tools 3.8.0.v202006301451-e2006-RELEASE (org.codehaus.groovy.eclipse.feature.feature.group 3.8.0.v202006301451-e2006-RELEASE)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.compilerless.feature.feature.group [3.8.0.v202006301451-e2006-RELEASE,3.8.0.v202006301451-e2006-RELEASE]
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Headless feature 3.8.0.v202006301451-e2006-RELEASE (org.codehaus.groovy.headless.feature.feature.group 3.8.0.v202006301451-e2006-RELEASE)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.jdt.patch.feature.group [3.8.0.v202006301451-e2006-RELEASE,3.8.0.v202006301451-e2006-RELEASE]
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Mylyn Context UI 3.25.1.v20200512-2113 (org.eclipse.mylyn.context.ui 3.25.1.v20200512-2113)
    ERROR: org.eclipse.equinox.p2.director code=0 To: java.package; org.eclipse.jdt.core 0.0.0
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Mylyn WikiText Context UI 3.0.36.202002070035 (org.eclipse.mylyn.wikitext.context.ui 3.0.36.202002070035)
    ERROR: org.eclipse.equinox.p2.director code=0 To: osgi.bundle; org.eclipse.mylyn.context.ui 3.7.0
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Mylyn WikiText 3.0.36.202002070035 (org.eclipse.mylyn.wikitext_feature.feature.group 3.0.36.202002070035)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.mylyn.wikitext.context.ui [3.0.36.202002070035,3.0.36.202002070035]
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From Patch: org.codehaus.groovy.jdt.patch.feature.group 3.8.0.v202006301451-e2006-RELEASE Eclipse Java Development Tools 3.18.400.v20200604-0540 (org.eclipse.jdt.feature.group 3.18.400.v20200604-0540)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.jdt.core [3.22.0.v202006301451-e2006-RELEASE,3.22.0.v202006301451-e2006-RELEASE]

Took 3 seconds.
There are failed tasks.
Press Back to choose different settings or Cancel to abort.


It seems somehow related to https://www.eclipse.org/forums/index.php/t/1104233/ but I really can't find the reason why it doesn't work when trying to install it automatically.

[Updated on: Wed, 21 October 2020 15:33]

Report message to a moderator

Re: Greclipse installation fails with Oomph but works from IDE [message #1833702 is a reply to message #1833689] Thu, 22 October 2020 03:50 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
That worked for me.
[2020-10-22 05:37:59] Executing bootstrap tasks
[2020-10-22 05:37:59] Java(TM) SE Runtime Environment 11.0.5+10-LTS
[2020-10-22 05:37:59] Product org.eclipse.products.epp.package.java.2020-06
[2020-10-22 05:37:59] Workspace D:\Users\test\testName-develop\ws
[2020-10-22 05:37:59] Project org.eclipse.user.project.testName.develop.develop
[2020-10-22 05:37:59] Bundle org.eclipse.oomph.setup 1.18.0.qualifier
[2020-10-22 05:37:59] Bundle org.eclipse.oomph.setup.core 1.18.0.qualifier
[2020-10-22 05:37:59] Bundle org.eclipse.oomph.setup.installer 1.19.0.qualifier
[2020-10-22 05:37:59] Bundle org.eclipse.oomph.setup.p2 1.16.0.qualifier
[2020-10-22 05:37:59] Performing Workspace D:\Users\test\testName-develop\ws
[2020-10-22 05:37:59] Performing P2 Director (Eclipse IDE for Java Developers (2020-06) + GRECLIPSE)
[2020-10-22 05:37:59] Offline = false
[2020-10-22 05:37:59] Mirrors = true
[2020-10-22 05:37:59] Resolving 20 requirements from 4 repositoriesto D:\Users\test\testName-develop\eclipse
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.codehaus.groovy.eclipse.feature.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:epp.package.java [4.16.0,5.0.0)
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.platform.feature.group [4.16.0,5.0.0)
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.rcp.feature.group [4.16.0,5.0.0)
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.buildship.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.eclemma.feature.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.egit.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.epp.mpc.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.jdt.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.jgit.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.feature.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.lemminx.feature.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.logback.feature.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.mylyn.wikitext_feature.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.tips.feature.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.wildwebdeveloper.xml.feature.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.targlets.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.targlets.feature.group
[2020-10-22 05:37:59] Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.pde.feature.group
[2020-10-22 05:37:59] Repository https://dist.springsource.org/release/GRECLIPSE/3.8.0/e4.16/
[2020-10-22 05:37:59] Repository http://download.eclipse.org/technology/epp/packages/2020-06
[2020-10-22 05:37:59] Repository http://download.eclipse.org/releases/2020-06/202006171000
[2020-10-22 05:37:59] Repository file:/D:/Users/merks/oomph-1.19/git/org.eclipse.oomph/sites/org.eclipse.oomph.site/target/repository/
[2020-10-22 05:38:02] Calculating requirements and dependencies.
[2020-10-22 05:38:03] Computing prerequisite plan
[2020-10-22 05:38:04] Fetching artifacts.jar from https://dist.springsource.org/release/GRECLIPSE/3.8.0/e4.16/ (2.8kB)
[2020-10-22 05:38:04] Collecting 19 artifacts from https://dist.springsource.org/release/GRECLIPSE/3.8.0/e4.16/


It's odd the mention of Object Teams Development Tooling Core in the failures, given I see no root requirement on that.

Perhaps some cached repository information is bogus in ~/.p2/org.eclipse.equinox.p2.repository/cache which you could delete.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Greclipse installation fails with Oomph but works from IDE [message #1833713 is a reply to message #1833702] Thu, 22 October 2020 10:55 Go to previous messageGo to next message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
Thanks Ed for your swift response.

Deleted the contents of
~/.p2/org.eclipse.equinox.p2.repository/cache

Unfortunately it doesn't seem to change a thing (see logs at the end).

I see mainly one difference between our logs:
But I guess this should have no impact?

(Saw you had also another Java version but tested that as well to exclude it as a cause:

  • Yours: Java(TM) SE Runtime Environment 11.0.5+10-LTS
  • Mine: Java(TM) SE Runtime Environment 1.8.0_201-b09
  • Tried also: Java(TM) SE Runtime Environment 11.0.9+7-LTS
)

Might be totally unrelated but I found https://download.eclipse.org/oomph/archive/reports/download.eclipse.org/releases/2020-06/index/org.eclipse.xtext.purexbase.ui_2.22.0.v20200602-1242.html
Which mentions "org.eclipse.equinox.p2.eclipse.type" pointing to https://download.eclipse.org/oomph/archive/reports/download.eclipse.org/releases/2020-06/index/org.eclipse.objectteams.otequinox.configuration_2.8.1.202006091155.html#org.eclipse.equinox.p2.eclipse.type which looks pretty similar to the "OTDT_r281_202006091155" below.
(But that's really wild guessing as I don't have a clue at the moment and did only pattern matching...)

Executing bootstrap tasks
Java(TM) SE Runtime Environment 1.8.0_201-b09
Product org.eclipse.products.epp.package.java.2020-06
Workspace Z:\test\testName-develop\ws
Project org.eclipse.user.project.testName.develop.develop
Bundle org.eclipse.oomph.setup 1.18.0.v20200820-0414, build=4863, branch=4eebbd98a241594f8be50ea65de102ee5f728ad8
Bundle org.eclipse.oomph.setup.core 1.18.0.v20200624-1156, build=4747, branch=6100b2bcb07b989fbc86c13817ea48e979f9a7be
Bundle org.eclipse.oomph.setup.installer 1.19.0.v20200924-0600, build=4863, branch=4eebbd98a241594f8be50ea65de102ee5f728ad8
Bundle org.eclipse.oomph.setup.p2 1.16.0.v20200814-1205, build=4863, branch=4eebbd98a241594f8be50ea65de102ee5f728ad8
Performing Workspace Z:\test\testName-develop\ws
Performing P2 Director (Eclipse IDE for Java Developers (2020-06) + GRECLIPSE)
Offline = false
Mirrors = true
Resolving 20 requirements from 4 repositoriesto Z:\test\testName-develop\eclipse
Requirement org.eclipse.equinox.p2.iu:org.codehaus.groovy.eclipse.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:epp.package.java [4.16.0,5.0.0)
Requirement org.eclipse.equinox.p2.iu:org.eclipse.platform.feature.group [4.16.0,5.0.0)
Requirement org.eclipse.equinox.p2.iu:org.eclipse.rcp.feature.group [4.16.0,5.0.0)
Requirement org.eclipse.equinox.p2.iu:org.eclipse.buildship.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.eclemma.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.egit.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.epp.mpc.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.jdt.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.jgit.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.lemminx.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.logback.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.mylyn.wikitext_feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.tips.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.wildwebdeveloper.xml.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.targlets.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.targlets.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.pde.feature.group
Repository https://dist.springsource.org/release/GRECLIPSE/3.8.0/e4.16/
Repository http://download.eclipse.org/technology/epp/packages/2020-06
Repository http://download.eclipse.org/releases/2020-06/202006171000
Repository http://download.eclipse.org/oomph/updates/milestone/latest
Adding repository http://download.eclipse.org/releases/2020-06/202006171000
Adding repository https://dist.springsource.org/release/GRECLIPSE/3.8.0/e4.16/
Adding repository http://download.eclipse.org/technology/epp/packages/2020-06
Adding repository http://download.eclipse.org/oomph/updates/milestone/latest
Calculating requirements and dependencies.
Cannot complete the request.  Generating details.
ERROR: org.eclipse.equinox.p2.director code=10054 Cannot complete the install because of a conflicting dependency.
  at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:291)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.resolve(ProfileTransactionImpl.java:428)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:340)
  at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:899)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3828)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3756)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3737)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3630)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:593)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:720)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
  ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1603353869857
  ERROR: org.eclipse.equinox.p2.director code=1 Only one of the following can be installed at once: 
    ERROR: org.eclipse.equinox.p2.director code=0 Object Teams Development Tooling Core 3.22.0.OTDT_r281_202006091155 (org.eclipse.jdt.core 3.22.0.OTDT_r281_202006091155)
    ERROR: org.eclipse.equinox.p2.director code=0 Java Development Tools Core 3.22.0.v20200530-2032 (org.eclipse.jdt.core 3.22.0.v20200530-2032)
    ERROR: org.eclipse.equinox.p2.director code=0 org.eclipse.jdt.core 3.22.0.v202006301451-e2006-RELEASE
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1603353869857
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.eclipse.feature.feature.group 0.0.0
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1603353869857
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.jdt.feature.group 0.0.0
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1603353869857
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.mylyn.wikitext_feature.feature.group 0.0.0
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Compilerless feature 3.8.0.v202006301451-e2006-RELEASE (org.codehaus.groovy.compilerless.feature.feature.group 3.8.0.v202006301451-e2006-RELEASE)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.headless.feature.feature.group [3.8.0.v202006301451-e2006-RELEASE,3.8.0.v202006301451-e2006-RELEASE]
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Eclipse Groovy Development Tools 3.8.0.v202006301451-e2006-RELEASE (org.codehaus.groovy.eclipse.feature.feature.group 3.8.0.v202006301451-e2006-RELEASE)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.compilerless.feature.feature.group [3.8.0.v202006301451-e2006-RELEASE,3.8.0.v202006301451-e2006-RELEASE]
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Headless feature 3.8.0.v202006301451-e2006-RELEASE (org.codehaus.groovy.headless.feature.feature.group 3.8.0.v202006301451-e2006-RELEASE)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.jdt.patch.feature.group [3.8.0.v202006301451-e2006-RELEASE,3.8.0.v202006301451-e2006-RELEASE]
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Mylyn Context UI 3.25.1.v20200512-2113 (org.eclipse.mylyn.context.ui 3.25.1.v20200512-2113)
    ERROR: org.eclipse.equinox.p2.director code=0 To: java.package; org.eclipse.jdt.core 0.0.0
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Mylyn WikiText Context UI 3.0.36.202002070035 (org.eclipse.mylyn.wikitext.context.ui 3.0.36.202002070035)
    ERROR: org.eclipse.equinox.p2.director code=0 To: osgi.bundle; org.eclipse.mylyn.context.ui 3.7.0
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Mylyn WikiText 3.0.36.202002070035 (org.eclipse.mylyn.wikitext_feature.feature.group 3.0.36.202002070035)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.mylyn.wikitext.context.ui [3.0.36.202002070035,3.0.36.202002070035]
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From Patch: org.codehaus.groovy.jdt.patch.feature.group 3.8.0.v202006301451-e2006-RELEASE Eclipse Java Development Tools 3.18.400.v20200604-0540 (org.eclipse.jdt.feature.group 3.18.400.v20200604-0540)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.jdt.core [3.22.0.v202006301451-e2006-RELEASE,3.22.0.v202006301451-e2006-RELEASE]
Re: Greclipse installation fails with Oomph but works from IDE [message #1833714 is a reply to message #1833713] Thu, 22 October 2020 11:24 Go to previous messageGo to next message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
After some more fiddling I found a difference between a working installation and a failing one:

Fails:

  • Eclipse IDE for Java Developers (2020-06)


Works:

  • Eclipse IDE for Java and DSL Developers (2020-06)

Since the repositories configured are the same I'm not sure about the real reason.

[Updated on: Thu, 22 October 2020 12:52]

Report message to a moderator

Re: Greclipse installation fails with Oomph but works from IDE [message #1833720 is a reply to message #1833714] Thu, 22 October 2020 12:51 Go to previous messageGo to next message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
Victor Toni wrote on Thu, 22 October 2020 07:24
After some more fiddling I found a difference between a working installation and a failing one:

Fails:

  • Eclipse IDE for Java Developers (2020-06)


Works:

  • Eclipse IDE for Java and DSL Developers (2020-06)

Since the repositories configured are the same I'm not sure about the real reason.


Using "Eclipse IDE for Java and DSL Developers (2020-06)" with another setup file containing the greclipse requirement fails.

One more wild guess: could the order/number of requirements trigger a different result in the resolver?
Re: Greclipse installation fails with Oomph but works from IDE [message #1833726 is a reply to message #1833720] Thu, 22 October 2020 15:54 Go to previous messageGo to next message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
Seems this can be reproduced by choosing "Eclipse IDE for Java Developers (2020-09)" + "Buildship" (tested with Java11 )
Tested on 4 workstations: fails on two different machines (Win10) and but works on one Ubuntu 18.04.5 LTS and one Fedora 31

[Updated on: Thu, 22 October 2020 22:34]

Report message to a moderator

Re: Greclipse installation fails with Oomph but works from IDE [message #1833801 is a reply to message #1833726] Sat, 24 October 2020 08:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
I'm really not sure how to track down such a problem especially when I can't reproduce it. It seems a problem with multiple competing patches to org.eclipse.jdt.core, i.e., there are three versions of that kicking around, the one from JDT, the one from ObjectTeams, and the one from Groovy. But I see no reason why the one from ObjectTeams would be pulled into the mix since there appears to be no direct or indirect dependency on that specifically. Given the different outcomes on different machines, one gets the sense that something non-deterministic is involved, but requirement order should not be significant...

Even if I could reproduce the problem, figuring out why it happens would require a large time investment. Not only does no one fund that (or any of my open source work), but when I work on something like that, I don't work on the stuff for which I do get paid so it costs me not just time but also money to help...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Greclipse installation fails with Oomph but works from IDE [message #1833855 is a reply to message #1833801] Mon, 26 October 2020 11:38 Go to previous messageGo to next message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
Fully understood, Ed. Thanks for the time you already invested.

I would have liked to find out myself but don't really know how since the installations don't seem to differ (expect Windows / Linux). We define even the product ourselves...

BUT I have another solution: just don't let Greclipse get installed by default on Windows. When the plugin gets installed after the installation everything seems to work...

Maybe you could take a look at this snippet. It is supposed to

  • put contraints on the version which COULD be installed
  • install it everywhere automatically expect on Windows

<?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"
    label="GRECLIPSE"
    licenseConfirmationDisabled="true">
  <requirement
      name="org.codehaus.groovy.eclipse.feature.feature.group"
      versionRange="[3.9.0,3.10.0)"
      optional="true"/>
  <requirement
      name="org.codehaus.groovy24.feature.feature.group"
      versionRange="[3.9.0,3.10.0)"
      optional="true"/>
  <requirement
      name="org.codehaus.groovy.eclipse.feature.feature.group"
      versionRange="[3.9.0,3.10.0)"
      filter="(!(osgi.os=win32))"/>
  <requirement
      name="org.codehaus.groovy24.feature.feature.group"
      versionRange="[3.9.0,3.10.0)"
      filter="(!(osgi.os=win32))"/>
  <repository
      url="https://dist.springsource.org/release/GRECLIPSE/3.9.0/e4.16/"/>
</setup.p2:P2Task>
Re: Greclipse installation fails with Oomph but works from IDE [message #1834661 is a reply to message #1833855] Sat, 14 November 2020 20:45 Go to previous message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
Just for the record, using
Bundle org.eclipse.oomph.setup 1.18.0.v20200820-0414, build=4863, branch=4eebbd98a241594f8be50ea65de102ee5f728ad8
Bundle org.eclipse.oomph.setup.core 1.18.0.v20200624-1156, build=4863, branch=4eebbd98a241594f8be50ea65de102ee5f728ad8
Bundle org.eclipse.oomph.setup.installer 1.19.0.v20200924-0600, build=4863, branch=4eebbd98a241594f8be50ea65de102ee5f728ad8
Bundle org.eclipse.oomph.setup.p2 1.16.0.v20200814-1205, build=4863, branch=4eebbd98a241594f8be50ea65de102ee5f728ad8

seems to have solved the issue for me. I did an upgrade after being hit by https://bugs.eclipse.org/bugs/show_bug.cgi?id=567050
(I cannot exclude changes on the greclipse side since I could not cross check anymore after having deleted my "old" Oomph installer.)
Previous Topic:Missing ciphers: SSLHandshakeException for https://eclipse-uc.sonarlint.org/compositeContent.xml
Next Topic:Remove Preference Recording from Oomph
Goto Forum:
  


Current Time: Thu Apr 25 06:56:16 GMT 2024

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

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

Back to the top