[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
Tue Mar 15 13:55:00 EDT 2016


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

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

{quote}
Nick: can we re-test with the /staging/ URLs? they contain something closer to what will be actually in the live /stable ones
the prototype used a direct link to eclipse.org's egit site rather than our mirror; should be the same but better to verify

Marian: ok I'm on it
http://download.jboss.org/jbosstools/mars/staging/updates/
https://devstudio.redhat.com/9.0/staging/updates/ those ones right?
And I am supposed to use still Abridged JBT right?

Nick: yes
you should even see Integration Stack stuff in Central with those :D
yes
just want to verify that a default JBT or JBDS BYOE install doesn't break egit because of having BOTH jgit 4.0.3 and 4.1.1 installed
should only get egit 4.1.1 (and the egit.ui.importer 4.1.1, not 4.0.0)

Marian: ok I tested it with staging URLs and it is working.
{quote}


> 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)



More information about the jbosstools-issues mailing list