[
https://issues.jboss.org/browse/JBIDE-21821?page=com.atlassian.jira.plugi...
]
Nick Boldt commented on JBIDE-21821:
------------------------------------
Max asked: "and i'm wondering why is it that org.eclipse.egit.importer.ui 4.0.0.
installs jgit 4.0 - does its version range to jgit limit it to 4.0.x ?"
{code:title=org.eclipse.egit.ui.importer_4.0.0.201506090130-r.jar/META-INF/MANIFEST.MF}
Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.e4
.ui.importer;bundle-version="0.1.0",org.eclipse.jgit;bundle-version="
[4.0.0,4.1.0)"{code}
{code:title=org.eclipse.egit.ui.importer_4.1.1.201511131810-r.jar/META-INF/MANIFEST.MF}
Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.e4
.ui.importer;bundle-version="0.1.0",org.eclipse.jgit;bundle-version="
[4.1.0,4.2.0)"{code}
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)