How to checkout source from SVN with Eclipse

Importing Maven projects into Eclipse when using SVN as the revision control system is often a two step process. While it is one of the fastest ways to import the projects, it requires a developer to perform two steps. This can easily be done in one step given that the right plugins are installed in Eclipse.

Requirements

  • Eclipse Luna (Service Release 1 was used)
  • Maven Integration for Eclipse (Juno and newer) --Luna have added basic maven plugin,but we need to add the m2 for svn plugins.
  • Subversive as SVN plugin

The Maven and Subversive plugins can be found in the Eclipse Marketplace (Help -> Eclipse Marketplace…)

Installing the plugin

Add the following update site via Help -> Install New Software…

 

Open the SVN Repository Exploring perspective (Window -> Open Perspective) and add the repository from which you want to import. (If you’ve never done this, here is a tutorial: http://www.eclipse.org/subversive/documentation/teamSupport/new_location_wiz.php).

Browse to the project you want to import and open up all the way to either the trunk or the branch you wish to import. Right click on the trunk or branch version and click ‘Check out as Maven Project…’ as shown in the screenshot.

check out as maven project

My SVN Repository Exploring perspective, project names are removed.

 

Press ‘Next’ in the new window if you’d like to import the project into a specific set or workspace or finish if you want to use the default settings.

http://community.polarion.com/projects/subversive/download/integrations/update-site/

And check the ‘Subversive Integration for the M2Eclipse Project’ and process with the installation of the plugin.

Restart Eclipse after installing.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值