存档

文章标签 ‘SVN’

eclipse GANYGEDE(3.4.1) 安装svn

2008年12月17日
1,785 views 1 条评论

  前段时间下载了个最新的pdt2.0程式,一直忙着公司的.NET系统.晚上终于有一点点时间把程序安装上了.顺便下载了一个最新的svn回来安装.发现居然不能使用,出错信息如下:

SVN: ‘0×00400006: Validate Repository Location’ operation finished with error: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Client.
Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Client.

原来eclipse3.4开始已经不内置 SVN connector library 了,需要自己安装.解决办法如下(100%成功):

   1. Go to Help->Software Updates.
    2. Click on the “Available Software” tab.
    3. Unfold the Ganymede->Collaboration Tools node, and if your experience is like mine, you will see the “SVN Team Provider (Incubation)” item with this version identifier, “0.7.1.I20080612-1500″. What you really need (since the Subversive/Polarion team posted updates) is the version from 2008-08-01.
    4. Click on “Manage Sites…”.
    5. Uncheck the “Ganymede” checkbox (http://download.eclipse.org/releases/ganymede)
    6. Scroll down to find “http://download.eclipse.org/technology/subversive/0.7/update-site/”, select it and click “OK”.
    7. You should be back on the “Available Software” tab, with only the subversive items present. Unfold the “Subversive SVN Team Provider Plugin (Incubation)” item, and you will see the “SVN Team Provider (Incubation)” item. Note that the version identifier is “0.7.3.I20080814-1500″.
    8. Check the box, and click”install”. The install will be change to an update. Restart Eclipse at the end of the install.
    9. Go to “Help->Software Updates”.
    10. Choose the “Available Software” tab.
    11. Click the “Add Site” button, and add “http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/”.
    12. Check the SVNKit Connectors and click “Install”. Restart Eclipse at the end of the install.
    13. Subversive should be working !

    Thanks to Frank Carver and Graig Thomas

form:http://yangzb.javaeye.com/blog/237790

开发工具 , ,

使用Subversion进行版本控制

2008年11月26日
936 views 没有评论

一直在windows平台上使用Microsoft Visual SourceSafe(VSS)源代码管理器来管理.NET的各个项目.安装使用都非常方便.在linux平台上使用Concurrent Version Syste(CVS)源代码管理器来管理java及php项目.本来也相安无事,各自管各自的,今天突然有一个项目需要这两级人員合作的,这下麻烦了,cvs在vs2008下的插件太少,vss在eclipse下虽然有插件,但是java组的人員不习惯vss的”锁定-修改-解锁”,而是喜欢CVS的”拷贝-修改-合并”.最后的结果是两个都不用,换现在使用最多的SVN.

在windows下安装SVN这一个源代码管理器也很简单(新版本已经不用像网上说的安装这个,安装那个,配置很多才能使用.).权限配置部分比较复杂,大家可以根据自己的需要上网找相关资料.
1,从官方网站上下载最新版本. http://www.collab.net/downloads/subversion/

2,直接运行程序一路 next 就完成了安装.

3,使用dos命令

svnadmin create "C:/svn_repository/COISWeb"

4,可以使用以下地址查看,团队人員就可以使用了.
http://localhost:8089/svn/COISWeb

客户端:
For VS2008:
http://ankhsvn.open.collab.net/

For Eclipse:
http://subclipse.tigris.org/
http://www.polarion.org/index.php?page=overview&project=subversive

开发工具 , , , , ,