MyEclipse中SVN的使用

一.下载SVN服务器端安装,配置

1.SVN2.SVN   3.SVN服务器端:http://www.tigris.org/

   4.SVN   1.   2.     svnadmin create d:SVNRepoRepo1

     Repo1   3.          [general]

     ### These options control access to the repository for unauthenticated

     ### and authenticated users.  Valid values are “write”, “read”,

     ### and “none”.  The sample settings below are the defaults.

     # anon-access = read

     # auth-access = write

     ### The password-db option controls the location of the password

     

     ### Uncomment the line below to use the default password file.

     # password-db = passwd

     ### The authz-db option controls the location of the authorization

          [general]

     ### These options control access to the repository for unauthenticated

     ### and authenticated users.  Valid values are “write”, “read”,

     ### and “none”.  The sample settings below are the defaults.

     anon-access = read

     auth-access = write

     ### The password-db option controls the location of the password

     ### Uncomment the line below to use the default password file.

     password-db = passwd

     ### The authz-db option controls the location of the authorization

        4.找到D:SVNRepoRepo1confpasswd,添加用户及密码,建完之后,该用户就可以向资源库中提交项目,添加用户zs,密码zs

     [users]

     # harry = harryssecret

     # sally = sallyssecret

     zs = zs

   5.     svnserve -d -r D:SVNRepoRepo1

二.在MyEclipse中打入SVN客户端插件,分为自动更新和

    MyEclipse_SVN  SVNTortoise 1. 自动更新,即通过Eclipse直接连接到外网进行更新,具体步骤参照:http://subclipse.tigris.org/servlets/ProjectProcessageID=p4wYuA

2. 手动更新,手动下载Eclipse SVN插件软件包,解压后的内容    3三.建立项目

四.将项目共享到SVN资源库服务器

  五.将项目提交到SVN资源库服务器

   

六.客户端开发时,将项目从SVN服务器”检出为”

      (1)   (2)七.要修改代码,务必先更新,从资源库取最新的文档,再修改

最常用的:

Update:Commit:Sychronize:八.修改完毕后,提交

注:当两个人同时修改一个文件时,必须一个修改完成,提交之后,另一个再取最新版本进行修改,这样就需要人为的进行沟通了,版本控制工具再好,也代替不了所有的人为沟通

来源:w630636065

声明:本站部分文章及图片转载于互联网,内容版权归原作者所有,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2014年1月11日
下一篇 2014年1月11日

相关推荐