eclipse 为什么eclipse SVN团队菜单没有显示所有选项?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28207752/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Why is eclipse SVN team menu not showing all options?
提问by Abhishek
I'm new to eclipse IDE. I've made some changes in the code and want to checkin/commit my changes to svn. But when I right click on a project and choose team option, I don't see options like commit, update, etc. I've searched on internet about the problem and tried following options,
我是 Eclipse IDE 的新手。我对代码进行了一些更改,并希望将我的更改签入/提交到 svn。但是当我右键单击一个项目并选择团队选项时,我没有看到提交、更新等选项。我在互联网上搜索了这个问题并尝试了以下选项,
- unistalling & reinstalling subversive - svn team provider
- starting eclipse with -Djava.util.Arrays.useLegacyMergeSort=true but nothing worked for me.
- 卸载和重新安装颠覆性的 - svn 团队提供商
- 使用 -Djava.util.Arrays.useLegacyMergeSort=true 启动 Eclipse 但对我没有任何作用。
Please see following image for more info.
请参阅下图了解更多信息。
More details about eclipse IDE, which I'm using, are as follows, Version: Luna Service Release 1 (4.4.1) Build id: 20140925-1800
我正在使用的 eclipse IDE 的更多详细信息如下,版本:Luna Service Release 1 (4.4.1) Build id:20140925-1800
I'm on windows 8.1 64 bit machine, if it matters. If anything else is required to solve the error, please let me know.
如果重要的话,我在 Windows 8.1 64 位机器上。如果还需要其他任何东西来解决错误,请告诉我。
回答by greg-449
You have you run 'Team > Share Project...' to tell SVN that this project is an SVN project before you can do anything else. Once you have set up the sharing the other menu items will appear.
您必须先运行“团队 > 共享项目...”以告诉 SVN 该项目是一个 SVN 项目,然后才能执行任何其他操作。设置共享后,将出现其他菜单项。
回答by Yiannis Dermitzakis
Try to import the original project as an SVN Project (through File>Import...) directly from the repository (use a new project name if you get conflicts). Verify that the Team menu is working for this project.
尝试将原始项目作为 SVN 项目(通过 File>Import...)直接从存储库导入(如果遇到冲突,请使用新的项目名称)。验证团队菜单是否适用于此项目。
回答by Muhammad Imran
I faced the same issue with my workspace. Here is the solution
我的工作区遇到了同样的问题。这是解决方案
Right-clicking "myproject" and click Team,Then Share Project. It should ask you what type of repository, and when you move to the next screen it should indicate that it sees existing SVN/ directories at which point it should use that metadata to establish the link. It may also require that you have the SVN repository set up (in the SVN Repositories perspective).
右键单击“myproject”并单击“团队”,然后单击“共享项目”。它应该询问您什么类型的存储库,并且当您移动到下一个屏幕时,它应该表明它看到了现有的 SVN/ 目录,此时它应该使用该元数据来建立链接。可能还需要您设置 SVN 存储库(在 SVN 存储库透视图中)。
回答by Rajesh
Right click the project and select Refactor then select Rename now it will work.
右键单击该项目并选择 Refactor 然后选择 Rename 现在它将起作用。
回答by A. Ocannaille
You should try to create your project from your SVN repository. for that :
您应该尝试从您的 SVN 存储库创建您的项目。为了那个原因 :
File > New > Other > SVN > Repository Location
In this windows you'll have all settings to configure your client use of SVN.
在此窗口中,您将拥有配置 SVN 客户端使用的所有设置。