Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-21532

OpenShift tooling is not compatible with EGit UI 4.1.1 from Mars.2.RC1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.3.1.Beta2
    • 4.3.1.Beta1
    • openshift
    • None

      org.jboss.tools.openshift.egit.ui.util.EGitUIUtils calls Activator.getDefault().getPreferenceStore().getString(UIPreferences.DEFAULT_REPO_DIR) to retrieve the defaut git repository defined in EGit. In Egit UI 4.1.1, used by Mars.2, UIPreferences.DEFAULT_REPO_DIR was removed, so the code no longer compile / will fail to run.

      Simply replacing this call with Activator.getDefault().getPreferenceStore().getString("default_repository_dir") doesn't work either, because it'll return an null value

              adietish@redhat.com André Dietisheim
              fbricon@redhat.com Fred Bricon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: