]
Mickael Istria commented on JBIDE-21821:
----------------------------------------
{quote} what is it in org.eclipse.egit.importer that forces 4.0.x version of jgit ? A
limited version range{quote}
Yes, that's one rule of EGit, they want to avoid "hybrid" versions of their
bundles, so the version ranges are tight. I didn't anticipate this issue at that time,
so I didn't even try to negotiate for a wider range. Too bad.
JBT 4.3.0.Final / JBDS 9.0.0.GA target platforms include
org.eclipse.egit.importer.ui 4.0, which installs jgit 4.0; this breaks egit 4.1.1 views
when JBT 4.3.0 or JBDS 9.0.0 are installed into Mars.2
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-21821
URL:
https://issues.jboss.org/browse/JBIDE-21821
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: build, marketplace
Reporter: Thomas Mäder
Assignee: Nick Boldt
Priority: Blocker
Fix For: 4.3.1.CR1
Attachments: FrameworkEvent ERROR.txt, jbt-error, jgit40_41_JBDS.installed.txt,
jgit40_41_JBT.installed.txt
Installing Red Hat JBoss Developer Studio 9.0.0GA into a fresh Eclipse 4.5.2 (for Eclipse
Committers) causes Egit to break.
# Install Eclipse 4.5.2
# In the Marketplace, search for "jboss developer studio"
# You get a single result: Red Hat JBoss Developer Studio 9.0.0 GA
# Install it
# Restart
# Observe: the EGit views and preferences are missing
# Observe: you get messages in the Eclipse error log concerning a dependency version
incompatibility
-----
JBT 4.3.0.Final / JBDS 9.0.0.GA target platforms include org.eclipse.egit.importer.ui
4.0.0.201506090130-r (Mars.1 version), which installs jgit 4.0.3.201509231615-r (Mars.1
version); this breaks egit 4.1.1 views when installed into Mars.2, because Mars.2 site
does not include org.eclipse.egit.ui.importer 4.1.1.201511131810-r, and you confuse egit
when you have both jgit 4.0 and 4.1 installed, disabling views and preferences.
Solution proposed is to add org.eclipse.egit.ui.importer 4.1.1.201511131810-r to the
composite site from which JBT 4.3.0.Final and JBDS 9.0.0.GA are installed, so that when
org.eclipse.egit.ui.importer is installed, p2 can select the 4.1.1 version instead of the
4.0.0 version.
I would want to pull a mirror of
http://download.eclipse.org/egit/updates-4.1.1/ onto
download.jboss.org if we're cool with this solution.