Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. 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

    XMLWordPrintable

Details

    Description

      Installing Red Hat JBoss Developer Studio 9.0.0GA into a fresh Eclipse 4.5.2 (for Eclipse Committers) causes Egit to break.

      1. Install Eclipse 4.5.2
      2. In the Marketplace, search for "jboss developer studio"
      3. You get a single result: Red Hat JBoss Developer Studio 9.0.0 GA
      4. Install it
      5. Restart
      6. Observe: the EGit views and preferences are missing
      7. 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.

      Attachments

        1. FrameworkEvent ERROR.txt
          3 kB
        2. jbt-error
          4 kB
        3. jgit40_41_JBDS.installed.txt
          1 kB
        4. jgit40_41_JBT.installed.txt
          2 kB

        Activity

          People

            nickboldt Nick Boldt
            tmader@redhat.com Thomas Mäder (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: