您的位置:首页 > 编程语言 > Java开发

eclipse的svn客户端(subclipse)的安装和简单使用

2011-05-09 23:41 776 查看
转载于:http://tech.16c.cn/svnsy/20090606/6220.html

一.安装
打开eclipse
help->software->find and install
选择search for new features to install, Next
点击new remote site
输入name:subclipse,url:http://subclipse.tigris.org/update_1.6.x,点OK
选中subclipse,点击finish
在弹出框中选择subclipse,把Subclipse Integration for Mylyn 3.x去掉,
Next一路安装完成!

二.共享项目(把本地的项目共享到subversion服务器上)
打开eclipse,假设要共享proj1是项目名称
右键项目proj1->Team->Share Project->Svn,
单库模式下url填写svn://svnserveraddress/,多库模式下url填写svn://svnserveraddress/Repository1,其中Repository1是库的名称
next直到finish,proj1就被共享到svn服务器上了,但是代码并没上传,还需要commit一次
右键项目proj1,team->commit,项目内容就被上传到svn服务器了

三.签出项目(把svn服务器上的项目下载的到本地)
打开eclipse
window->open perspective->svn repository explorer(如果没有在other里选择)
在左边空白处右键->new->repository location
单库模式下url填写svn://svnserveraddress/,多库模式下url填写svn://svnserveraddress/Repository1(同步骤二)
右键proj1->check out
next直到finish,该项目就被签出到本地,切换到java视图就能看到该项目了。
本文来自联城技术网(http://tech.16c.cn/)转发请保留地址:http://tech.16c.cn/svnsy/20090606/6220.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: