[jbosstools-issues] [JBoss JIRA] (JBIDE-21821) 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

Nick Boldt (JIRA) issues at jboss.org
Wed Mar 16 09:52:01 EDT 2016


     [ https://issues.jboss.org/browse/JBIDE-21821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Boldt resolved JBIDE-21821.
--------------------------------
    Resolution: Done


Re-resolved.

Here's a PR for the blog that Max requested:

https://github.com/jbosstools/jbosstools-website/pull/554/
https://github.com/nickboldt/jbosstools-website/blob/mars.2-patchfix-JBIDE-21821/blog/ga-patchfix-mars.2.adoc


> 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, 4.3.0.Final
>
>         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)



More information about the jbosstools-issues mailing list