Closed kris-mart closed 1 year ago
Duplicate to #345
In EGit the method has been removed in this commit.
has to replaced by something like:
private static final String EGIT_PLUGIN_ID = "org.eclipse.egit.core"; //$NON-NLS-1$
// ...
rootFolderPreference =
Platform.getPreferencesService().getString(EGIT_PLUGIN_ID, DEFAULT_REPOSITORY_DIR_CORE_KEY, null, null);
if (!StringUtil.isNullOrEmpty(rootFolderPreference)) {
return rootFolderPreference;
}
As workaround downgrade JGit/EGit to 5.11 or use Eclipse 2021-03.
See also my Stack Overflow answer here.
Seems like its not working with new egit (my case: org.eclipse.egit.core_6.3.0.202209071007-r.jar)