STS 中的 SVN 选项 - 现有 Maven 项目

问题描述 投票:0回答:3

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

svn maven subclipse sts-springsourcetoolsuite
3个回答
0
投票

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

安装“M2E connector for subclipse”,你会得到一个很棒的新选项“Check out as Maven Project”,它将把项目和所有子模块作为 Maven 项目拉出到 STS 工作区中。你将拥有完整的回溯历史并且可以提交。

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


0
投票

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

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.

0
投票
or 

在 Eclipse 中,转到帮助菜单 → 安装新软件... 单击添加...http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/ 在位置中,复制 Subversive SVN 连接器的 URL 点击确定 检查颠覆性 SVN 连接器 单击下一步,然后按照说明完成安装

© www.soinside.com 2019 - 2024. All rights reserved.