0

我是 STS 和 SVN 的新手。在我的工作站中,我将 SVN 签出文件夹中的源代码(Maven 项目)。我已使用选项 Import --> Maven --> Existing Maven Projects 将该 maven 项目导入 SpringSource 工具套件 (STS)。像这样导入后,我可以使用代码,我现在在我的机器上拥有什么。但我不能在 STS 中使用 SVN 选项,如更新、提交和注释。我没有启用这些功能。我在我的 STS 工具中安装了 Subclipse for SVN。请指导我解决这个问题。提前致谢。

4

3 回答 3

0

要将 SVNKit 作为 Eclipse 插件安装或确保安装了最新版本,请使用http://eclipse.svnkit.com/1.8.x/作为 Eclipse Update Manager 中的更新站点位置。

In Eclipse menu select Help->Software Updates
Then choose 'Available Software' tab
Click 'Add Site...' button
Type http://eclipse.svnkit.com/1.8.x/ in the 'Location' field and press 'OK'.
Check the new site (it should appear in the list of update sites) and follow further steps as prompted by Eclipse.
于 2014-04-17T06:29:27.000 回答
0
or 

在 Eclipse 中,转到帮助菜单 → 安装新软件... 单击添加... http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/ 在位置复制 URL Subversive SVN Connectors 单击 OK 检查 Subversive SVN Connectors 单击 Next,然后按照说明完成安装

于 2014-04-17T07:11:10.840 回答
0

如果它已经在 SVN 中,那么您想使用 SVN 资源管理器查找项目并从那里结帐。(Subclipse 是一个不错的插件) Subclipse 1.6.x 更新站点 - http://subclipse.tigris.org/update_1.6.x (但是你可能想要 1.7、1.8)

安装“用于子剪辑的 M2E 连接器”,您将获得一个很棒的新选项,称为“作为 Maven 项目签出”,它将在 STS 工作区中将项目和所有子模块作为 Maven 项目拉出。您将拥有完整的还原历史记录,并且可以提交。

Eclipse Extras 更新站点的 Maven 集成 - http://m2eclipse.sonatype.org/sites/m2e-extras

于 2012-06-13T13:21:49.893 回答