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

Bug 343627

Summary: [egit-github] Installation via Eclipse Marketplace
Product: [Technology] EGit Reporter: Christian Trutz <info>
Component: MylynAssignee: Robert Munteanu <robert.munteanu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, christian.herlambang, robert.munteanu
Version: unspecified   
Target Milestone: 1.0.0   
Hardware: All   
OS: All   
Whiteboard:

Description Christian Trutz CLA 2011-04-21 19:56:07 EDT
If I try to install egit-github via Eclipse Marketplace, i get the following error:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Eclipse EGit Mylyn GitHub Feature (Incubation) 0.1.0.201104201644 (org.eclipse.mylyn.github.feature.feature.group 0.1.0.201104201644)
  Missing requirement: EGit Mylyn GitHub Core Plug-in (Incubation) 0.1.0.201104201644 (org.eclipse.mylyn.github.core 0.1.0.201104201644) requires 'package com.google.gson 1.6.0' but it could not be found
  Cannot satisfy dependency:
    From: Eclipse EGit Mylyn GitHub Feature (Incubation) 0.1.0.201104201644 (org.eclipse.mylyn.github.feature.feature.group 0.1.0.201104201644)
    To: org.eclipse.mylyn.github.core [0.1.0.201104201644]
Comment 1 Christian Trutz CLA 2011-05-10 16:26:29 EDT
As workaround please see also http://wiki.eclipse.org/EGit/GitHub/UserGuide#Prerequisites and install GSon 1.6.0 from http://download.eclipse.org/tools/orbit/downloads/drops/S20110422041657/repository/
Comment 2 Kevin Sawicki CLA 2011-05-21 18:11:00 EDT
You also now need to install Apache HttpComponents, instructions here: http://wiki.eclipse.org/EGit/GitHub/UserGuide#Prerequisites
Comment 3 Robert Munteanu CLA 2011-05-21 18:26:42 EDT
There are two ways out:

* The update site should referece this Orbit repository. The 'references' element in the category.xml should be populated with it. I've done this for the Mylyn connector for Mantis, but the build is based on Tycho + site.xml, not Tycho + category.xml as it is the case for the Github connector. A quick test showed me that this recipe is only possible using site.xml.
* The feature should contain the artifacts and therefore bundle them in the update site.

It's a bit annoying to have to install dependencies manually, so please let me know if either of these solutions is acceptable and I'll try to prepare a patch.
Comment 4 Robert Munteanu CLA 2011-05-21 19:39:16 EDT
Change proposed at http://egit.eclipse.org/r/#change,3495
Comment 5 Chris Aniszczyk CLA 2011-05-21 21:48:57 EDT
Thanks Robert.