Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Getting a Platform UI checkout via the installer
Getting a Platform UI checkout via the installer [message #1773033] Wed, 20 September 2017 12:40 Go to next message
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 22
Registered: July 2009
Junior Member
In a feature wish I opened I was pointed to https://wiki.eclipse.org/Platform_UI/How_to_Contribute in what I assume is an invitation to provide a patch for the wish I have.

I tried following the steps mentioned there, except that I did not use the ssh-checkout from Gerrit but rather https url (since I didn't setup the Gerrit account yet). The steps in the installer succeed and the downloaded Eclipse installation starts up and starts running some initialization tasks.

However one of those fails (see below for the output) and I end up with a dialog asking me to go back to select some other options. If I do click on Back and then on Finish again the dialog completes successfully, but I end up in an otherwise empty Eclipse workspace. I tried a manual load of projects from the git checkout that was created on disk but that results just in compile errors because dependencies are missing. Turns out the target platform is not complete either.

So whats the proper process to get a checkout of say the platform ui codebase to try to look into a smaller patch contribution?

This is the output generated by the initialization tasks in the started Eclipse instance:
Executing startup tasks
Java(TM) SE Runtime Environment 1.8.0_111-b14
Product org.eclipse.products.org.eclipse.platform.ide.oxygen
Workspace /Users/andreas/src/eclipse-dev/platform-ui-master/ws
Project org.eclipse.platform.ui.master
Bundle org.eclipse.oomph.setup 1.8.0.v20170408-0745, build=3098, branch=e12ba4db800d8f30e47fd2525429e2f55baf9396
Bundle org.eclipse.oomph.setup.core 1.8.0.v20170531-0903, build=3098, branch=e12ba4db800d8f30e47fd2525429e2f55baf9396
Bundle org.eclipse.oomph.setup.git 1.8.0.v20170327-1117, build=3098, branch=e12ba4db800d8f30e47fd2525429e2f55baf9396
Bundle org.eclipse.oomph.setup.jdt 1.8.0.v20170318-0419, build=3098, branch=e12ba4db800d8f30e47fd2525429e2f55baf9396
Bundle org.eclipse.oomph.setup.p2 1.8.0.v20170318-0419, build=3098, branch=e12ba4db800d8f30e47fd2525429e2f55baf9396
Bundle org.eclipse.oomph.setup.pde 1.9.0.v20170706-0559, build=3098, branch=e12ba4db800d8f30e47fd2525429e2f55baf9396
Bundle org.eclipse.oomph.setup.targlets 1.8.0.v20170318-0624, build=3098, branch=e12ba4db800d8f30e47fd2525429e2f55baf9396
Bundle org.eclipse.oomph.setup.workingsets 1.8.0.v20170318-0419, build=3098, branch=e12ba4db800d8f30e47fd2525429e2f55baf9396
Performing Preference /instance/org.eclipse.pde.api.tools/missing_default_api_profile = Ignore
Performing Preference /instance/org.eclipse.pde.api.tools/MISSING_EE_DESCRIPTIONS = Warning
Performing Preference /instance/org.eclipse.core.resources/refresh.enabled = true
Performing Preference /instance/org.eclipse.egit.core/core_autoIgnoreDerivedResources = false
Performing Targlets Modular API Baseline Target (Eclipse Platform + Platform)
Repository http://download.eclipse.org/eclipse/updates/4.6
Offline = false
Mirrors = true
Adding repository http://download.eclipse.org/eclipse/updates/4.6
Calculating requirements and dependencies.
Computing prerequisite plan
Sending ProfileUpdateSucceededEvent[source=Modular API Baseline Target, profile=_Users_andreas_src_eclipse-dev_platform-ui-master_ws-38ea0635fe9b48dc1e4447dd68f919974fae7fdf] to PomArtifactUpdater
Sending ProfileUpdateSucceededEvent[source=Modular API Baseline Target, profile=_Users_andreas_src_eclipse-dev_platform-ui-master_ws-38ea0635fe9b48dc1e4447dd68f919974fae7fdf] to PomModulesUpdater
Sending ProfileUpdateSucceededEvent[source=Modular API Baseline Target, profile=_Users_andreas_src_eclipse-dev_platform-ui-master_ws-38ea0635fe9b48dc1e4447dd68f919974fae7fdf] to TargetDefinitionGenerator
Targlet container profile update completed
Performing API Baseline from Target Modular API Baseline, activate
Creating new baseline from target Modular API Baseline Target
Performing JRE for JavaSE-1.8 = /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home
Creating JRE for JavaSE-1.8 with location /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home
Updating build paths
Setting the default execution environment to JRE for JavaSE-1.8
Performing Git Clone https://git.eclipse.org/r/platform/eclipse.platform.ui  (master)
Cloning Git repo https://git.eclipse.org/r/platform/eclipse.platform.ui to /Users/andreas/src/eclipse-dev/platform-ui-master/git/eclipse.platform.ui
Receiving objects
Receiving objects:         0% (     1/503228)
Receiving objects:        99% (498196/503228)
Receiving objects:       100% (503228/503228)
Resolving deltas
Resolving deltas:          0% (     1/280838)
Resolving deltas:         99% (278030/280838)
Resolving deltas:        100% (280838/280838)
Updating references
Updating references:       0% (   1/5320)
Updating references:      99% (5267/5320)
Updating references:     100% (5320/5320)
Adding push ref spec: refs/notes/*:refs/notes/*
Adding push ref spec: HEAD:refs/for/master
Creating local branch master
Resetting hard
Performing Targlets Modular Target (Eclipse Platform + Platform + Platform UI), activate
Repository http://download.eclipse.org/eclipse/updates/4.7
Repository http://download.eclipse.org/cbi/updates/license
Repository http://download.eclipse.org/modeling/emf/cdo/orbit/latest-R
Offline = false
Mirrors = true
Adding repository http://download.eclipse.org/cbi/updates/license
Adding repository http://download.eclipse.org/eclipse/updates/4.7
Adding repository http://download.eclipse.org/modeling/emf/cdo/orbit/latest-R
Calculating requirements and dependencies.
Cannot complete the request.  Generating details.
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.targlets.internal.core.TargletContainer.forceUpdate(TargletContainer.java:821)
  at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl$4.run(TargletTaskImpl.java:1128)
  at org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:120)
  at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:1036)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3324)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3267)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4494)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:4488)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:4486)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3258)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3233)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3133)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:567)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:693)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
  ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1505828091030
  ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement: Eclipse 4 Rich Client Platform 1.6.0.v20170612-1255 (org.eclipse.e4.rcp.feature.group 1.6.0.v20170612-1255) requires 'org.apache.batik.i18n 0.0.0' but it could not be found
  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.v1505828091030
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.e4.rcp.feature.group 0.0.0

Took 415 seconds.
There are failed tasks.
Press Back to choose different settings or Cancel to abort.
Re: Getting a Platform UI checkout via the installer [message #1773038 is a reply to message #1773033] Wed, 20 September 2017 14:49 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Open a Bugzilla. It doesn't look like they've all set things up to support Photon yet...

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Getting a Platform UI checkout via the installer [message #1773039 is a reply to message #1773038] Wed, 20 September 2017 15:32 Go to previous message
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 22
Registered: July 2009
Junior Member
Thanks for confirming this isn't just me doing something wrong. I've filed a bug now at https://bugs.eclipse.org/bugs/show_bug.cgi?id=522541
Previous Topic:Publish Oxygen to Maven Central
Next Topic:Mirroring java 9 support plugin for offline usage
Goto Forum:
  


Current Time: Sat Dec 14 07:01:08 GMT 2024

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

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

Back to the top