[jbosstools-issues] [JBoss JIRA] (JBIDE-21821) JBoss Developer Studio Marketplace Install Breaks Egit in Mars.2

Nick Boldt (JIRA) issues at jboss.org
Tue Mar 8 11:04:00 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-21821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173704#comment-13173704 ] 

Nick Boldt commented on JBIDE-21821:
------------------------------------

Looks like the issue is in fact an incompatibility w/ jgit 4.0 and 4.1 -- both shouldn't be coinstalled. Your error log mentions both:

* org.eclipse.jgit 4.0.3.201509231615-r
* org.eclipse.jgit 4.1.1.201511131810-r

And for JBT, both are dropped to disk. But for JBDS, only 4.1.1 is installed. 

The reason is that the JBT site doesn't include a neewer version of org.eclipse.egit.ui.importer, so you get the Mars.1 version, 4.0.0.201506090130-r, which requires jgit 4.0. So jgit 4.0.3 (from Mars.1) is also installed.

But in JBDS you DO get forced into installing the Mars.2 version, and end up with org.eclipse.egit.ui.importer	4.1.1.201511131810-r

--

So... the problem is that in JBT 4.3 (Mars) we still hardcode a link to the "latest" *released* JBT TP [1]. In JBT 4.4 (Neon) we removed this (JBIDE-21233) to avoid exactly this problem.

[1] http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/mars/ --> currently points at http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.51.0.Final/REPO (which includes org.eclipse.egit.ui.importer	4.0.0.201506090130-r)

So... installation will continue to be a problem for JBT if you install from the snapshot site [2] which DOES NOT include the latest TP [3].

But if you use the JBT snapshot site which DOES include the latest TP [4], you should be fine because that will include the newer egit.ui.importer 4.1.1.

[2] http://download.jboss.org/jbosstools/mars/snapshots/updates/core/4.3.mars/
[3] http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.52.0.CR1-SNAPSHOT/REPO/
[4] http://download.jboss.org/jbosstools/mars/snapshots/updates/



> JBoss Developer Studio Marketplace Install Breaks Egit in 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
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list