MyEclipse6.5+SVN配置与使用

来源:互联网 发布:周立功单片机教程 编辑:程序博客网 时间:2024/06/05 19:14

 

安装方法一、直接拷贝解压文件至MyEclipse安装目录下

1. 下载SVN插件site1.6.16.zip    http://download.csdn.net/detail/u011631266/6399693

2. 解压插件包将features、plugins目录下的文件拷至MyEclipse安装目录下eclipse下的对应目录下面,重启Myeclipse

 

安装方法二、直接从MyEclipse集成工具里下载

1. 打开Myeclipse,在菜单栏中选择Help→SoftwareUpdates→Find and Install;

2. 选择Search for newfeatures to install,点击Next进入下一步;

3. 点击“New Remote Site”按钮,在弹出的对话框中输入:

      name:svn

      url:http://subclipse.tigris.org/update_1.4.x

      点击OK,关闭对话框,并点击Finish按钮,Myeclipse自动下载插件安装程序;

4. 下载完插件之后,进入安装画面。

5. 选择所要安装的SVN插件内容,这里去掉第二个选项Subclipse Integrations,点击下一步;

6. 选择 “I accept the termsin the license agreements”并点击Next,直到点击Finish即可,进入下一步。

7. 开始安装SVN插件,安装完成之后,重启Myeclipse

 

使用

1. 导出版本库

(1) 在菜单栏中选择Window→OpenPerspective→Other→选择SVN Repository Exploring→ok

(2) 在左边空白区域单击右键→New→RepositoryLocation

(3) 在Url一栏中输入svn://localhost/,点击Finish按钮

(4) 输入用户名和密码,点击OK即可看到SVN下的目录结构

2. 导入本地项目至SVN

(1) 在项目列表右键单击项目→Team→ShareProject→选择SVN

(2) 选择Create a new repositorylocation→输入Url svn://localhost/

(3) 选择Use project foldername→Finash→输入用户名密码,完成

3. 从SVN下载已有项目

(1) 在项目列表右键单击空白→Import→选择SVN→CheckoutProjects from SVN

(2) 选择Create a new repositorylocation→输入Url svn://localhost/

(3) 在目录里找到项目后Next→选择Check outas a project in the workspace 点击Next

(4) 选择Use defaultworkspace location 点击Finish

原创粉丝点击