简体   繁体   English

如何为项目启用Subversive(Eclipse插件)

[英]How to enable Subversive (Eclipse Plugin) for a project

I am using subversive (an eclipse plugin) to connect connect to an SVN repository. 我正在使用颠覆性(eclipse插件)来将connect连接到SVN存储库。 I have only been using it for several weeks but it has been great. 我只使用了几个星期,但是它很棒。

Whenever I create a new project everything works great (see the left side of the image), the project automatically hooks itself up to svn. 每当我创建一个新项目时,一切都很好(请参见图片的左侧),该项目会自动将自身挂接到svn。 When I open a workspace that I had before I installed subversive it does not use the plugin (see the right side of the image). 当我打开安装颠覆性版本之前拥有的工作区时,它不使用插件(请参见图像的右侧)。

在此处输入图片说明

I have tried numerous things to try to enable the plugin: 我尝试了很多事情来尝试启用插件:

  • I looked under all the options under window -> preferences (especially the team preferences 我查看了window -> preferences (尤其是team首选项)下的所有选项
  • I looked under all of the properties under the project (right click the project -> select properties) 我查看了该项目下的所有属性(右键单击该项目->选择属性)
  • I deleted the workspace folder and created a new one (and re-imported my project) 我删除了工作区文件夹并创建了一个新文件夹(然后重新导入了我的项目)
  • I looked at the .project file and compared it to a projec that has the plugin enabled but could not see anything relevant there 我查看了.project文件,并将其与启用了插件但看不到任何相关内容的项目进行了比较

How can I enable the plugin? 如何启用该插件? The only way that I have found that works is to checkout the project in a fresh empty folder and then open it in eclipse. 我发现可行的唯一方法是在新的空文件夹中签出项目,然后在eclipse中打开它。 I am trying to avoid this since it will take an hour or so to redownload. 我试图避免这种情况,因为重新下载需要一个小时左右。

右键单击项目,选择“团队-共享项目...”,然后它将检测到已经存在的.svn目录,并建议您重用存储在其中的SVN信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM