Eclipse 使用Subversion 八步

1.       安装Subversion For Windows。设置PATH变量,指到Subversionbin目录。

2.       在命令行下测试:svn help。成功后,运行svnadmin create  x:\xxx\repository,建立工作目录。

3.       repository目录中,找到conf目录,打开svnserve.conf,取掉下面三项的注释。

anon-access = read

auth-access = write    

password-db = passwd

4.       再打开passwd文件,添加以下帐号。

[user]

User01 = abc12345

User02 = abc12345

User03 = abc12345

5.       在命令行中运行svnserve -d -r D:\WorkSpace\Svn\repository命令,运行SVN服务。

6.       Eclipse中安装Subclipse插件,在HELP菜单下打开“Install new software”,在打开的对话窗口中使用“Available Software Sites,添加Subclipse,添加网址http://subclipse.tigris.org/update_1.8.x,然后安装Subclipse插件。

7.       安装完成后,重启Eclipse,打开Windows下的Show view下的Other,找到SVN目录,打开SVN资源库。在SVN资源库窗口中添加新的SVN节点。

8.       新的SVN节点URL描述为 svn://localhost,继续下一步,在用户和密码窗口中填入第4步中设置帐号即可。

你可能感兴趣的:(SVN,版本管理)