将现有的 SVN 项目导入 Eclipse
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1265549/
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
Import an existing SVN project into Eclipse
提问by Ali Burak Kulakli
I have a folder on the C drive which is already checked out from SVN. In somewhere in that folder, I have an Eclipse project folder. It is already in the SVN repository.
我在 C 盘上有一个文件夹,它已经从 SVN 检出。在那个文件夹的某个地方,我有一个 Eclipse 项目文件夹。它已经在 SVN 存储库中。
I started Eclipse, imported that project, but I am not sure how to connect it to SVN. When I was working on a CVSrepository, Eclipse CVS discovered its setting when I tried to share it. How can I do this with Subversion?
我启动了 Eclipse,导入了那个项目,但我不知道如何将它连接到 SVN。当我在CVS存储库上工作时,Eclipse CVS 在我尝试共享它时发现了它的设置。我怎样才能用 Subversion 做到这一点?
回答by Rich Seller
This is how it's done with Subclipse. If I remember correctly, the process is similar in Subversive because they both use the Team API.
这就是使用 Subclipse 的方式。如果我没记错的话,这个过程在 Subversive 中是相似的,因为它们都使用 Team API。
Right-click on the project, select Team-> Share Project...
右键单击项目,选择团队->共享项目...
Then select SVN as the SCM provider, then follow the wizard to completion.
然后选择 SVN 作为 SCM 提供者,然后按照向导完成。
According to this installation guide, Subversion does follow the same approach. If you haven't already set up your Subversion repository, the Wizard will prompt you to do so as in the screenshot below. The settings are the same as you would ordinarily use to connect to Subversion.
根据此安装指南,Subversion 确实遵循相同的方法。如果您还没有设置您的 Subversion 存储库,向导将提示您进行设置,如下面的屏幕截图所示。这些设置与您通常用于连接到 Subversion 的设置相同。
Share project wizard screenshot http://wiki.webratio.com/images/0/01/SpecifyRepository.png
分享项目向导截图 http://wiki.webratio.com/images/0/01/SpecifyRepository.png