英文:
Blank "Repositories View" with new Eclipse RCP 4.16 and Egit 5.8
问题
我在从egit 5.4更新到5.8,并且更新到最新的Eclipse RCP 4.16时遇到了问题。
克隆操作正常进行,但是“存储库视图”仍然是空的。已添加的存储库可以从GitStaging视图中选择。日志中没有错误,我该如何解决这个问题?
添加存储库视图 这是addRepositories视图的样子,我尝试过全新的存储库,也尝试过现有的存储库。它们仍然没有显示在Git存储库视图中。
英文:
I have a problem when updating from egit 5.4 to 5.8 and also updating to latest Eclipse RCP 4.16 .
The clone operation works ok, but the "Repositories view" remains empty. The Added repos can be selected from the GitStaging view. No errors in the logs, how can I solve that?
The AddRepositories view This is how the addRepositories view look, I tried with brand new repos and also with existing ones. still they arent'd displayed in the Git Repositories view
答案1
得分: 1
这个问题的解决方法是在 ApplicationWorkbenchAdvisor 类中覆盖以下方法:
@Override
public IAdaptable getDefaultPageInput() {
return ResourcesPlugin.getWorkspace().getRoot();
}
英文:
The fix for this is overriding the following method in the ApplicationWorkbenchAdvisor class:
@Override
public IAdaptable getDefaultPageInput() {
return ResourcesPlugin.getWorkspace().getRoot();
}
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论