Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362970

Summary: [Xtend2] Xtend2 SDK installation fail on plain Eclipse: Missing dependencies
Product: [Modeling] TMF Reporter: Ivar Refsdal <refsdal.ivar>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: dennis.huebner, sven.efftinge
Version: unspecifiedFlags: sven.efftinge: juno+
Target Milestone: M4   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ivar Refsdal CLA 2011-11-05 12:34:17 EDT
Build Identifier: 20110916-0149

Apparently there are missing update sites in http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/

The following message appears:
Cannot complete the install because one or more required items could not be found.
 Software being installed: Xtend2 SDK 2.1.0.v201111010612 (org.eclipse.xtext.xtend2.sdk.feature.group 2.1.0.v201111010612)
 Missing requirement: Xtext Ecore Ui Support 2.1.0.v201111010612 (org.eclipse.xtext.ui.ecore 2.1.0.v201111010612) requires 'bundle org.eclipse.emf.ecore.editor 2.5.0' but it could not be found
 Cannot satisfy dependency:
  From: Xtext UI 2.1.0.v201111010612 (org.eclipse.xtext.ui.feature.group 2.1.0.v201111010612)
  To: org.eclipse.xtext.ui.ecore [2.1.0.v201111010612]
 Cannot satisfy dependency:
  From: Xtend2 SDK 2.1.0.v201111010612 (org.eclipse.xtext.xtend2.sdk.feature.group 2.1.0.v201111010612)
  To: org.eclipse.xtext.ui.feature.group [2.1.0,2.2.0)
Application failed, log file location: /home/ivar/Desktop/testeclipse_plain/configuration/1320510038252.log

Reproducible: Always

Steps to Reproduce:
1. tar xvzf eclipse-java-indigo-SR1-linux-gtk.tar.gz
2. cd eclipse
3. ./eclipse -nosplash -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/ -installIU org.eclipse.xtext.xtend2.sdk.feature.group
Comment 1 Ivar Refsdal CLA 2011-11-06 07:21:40 EST
Same problem when trying to install
org.eclipse.xtext.sdk.feature.group 2.1.0.v201111010612.

Done using
eclipse -nosplash -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/ -installIU org.eclipse.xtext.sdk.feature.group
Comment 2 Dennis Huebner CLA 2011-11-07 11:00:18 EST
(In reply to comment #1)
> Same problem when trying to install
> org.eclipse.xtext.sdk.feature.group 2.1.0.v201111010612.
> 
> Done using
> eclipse -nosplash -application org.eclipse.equinox.p2.director -repository
> http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
> -installIU org.eclipse.xtext.sdk.feature.group

'missing' dependency comes from EMF, which is part of eclipse indigo. So you maybe have to add the indigo  repository as well.
Comment 3 Ivar Refsdal CLA 2011-11-07 13:10:00 EST
(In reply to comment #2)
> 'missing' dependency comes from EMF, which is part of eclipse indigo. So you
> maybe have to add the indigo  repository as well.

Right. It seems that the p2.director does not consult any other update sites by default, while the p2.update UI App does. And 'plain' Eclipse does indeed have the Indigo update site enabled by default, so this bug should be closed.