由于一个项目有几个人开发,所以要用到源代码管理工具了,在网上找了一些比如:VSS6.0,,,VSS2005等,但是看不懂啊,
我不明白,是不是有个服务器端,有个客户端啊?服务器端是不是要在服务器上装,在XP下不能装吗?装好后怎样用啊?是不是得专门有台服务器放所有项目的源代码,然后每个用户都从服务器里面签出来开发呢?还有VSS6.0 与VSS2005哪个简单好用啊??
我不明白,是不是有个服务器端,有个客户端啊?服务器端是不是要在服务器上装,在XP下不能装吗?装好后怎样用啊?是不是得专门有台服务器放所有项目的源代码,然后每个用户都从服务器里面签出来开发呢?还有VSS6.0 与VSS2005哪个简单好用啊??
另外装上以后 ,在 vs2005 中点击工具 点选项 有个源代码管理 在那里看看有没有添加上 vss
4 在进入admin 时出现Um.dat may be corrupt 的原因是用户权限不够,解决办法:
To build a new Um.dat file, follow these steps: 一. Create a temporary folder named C:\Sstemp. //建一个文件夹
二. Click Start, click Run, type cmd, and then click OK. //点开始,运行
三 Go to the VSS\Win32 folder in the command prompt window, and then type the following command: //到vss安装的win32目录下运行以下命令
mkss c:\sstemp
四 In the VSS\Win32 folder at the command prompt, type the following command:
ddconv c:\sstemp
五 In the VSS\Win32 folder at the command prompt, type the following command:
ddupd c:\sstemp
六. Copy the Um.dat file from the C:\SStemp\Data folder to the Visual SourceSafe data directory.
七 Rename the Rights.dat file in the Visual SourceSafe data directory as Rights2.dat.
八 At a command prompt, run the analyze -f command against the database.
九 Add all of the Visual SourceSafe users again.
十Reassign rights to the Visual SourceSafe users5 在服务端创建工程要注意选中【递归】 recurrence 选项,当时我没有选中这个选项,走了不少弯路,在Visual SourceSafe 6.0浏览器下,打开数据库,创建工程。然后从本地选中同名工程文件,选中递归,即可把整个工程导入VSS 数据库中。6.安装客户端可以参考上面的资料,在服务端共享vss的安装目录,点击netstart.exe(具体名称记不清了),之后就NEXT可以安装,ID号111 11111.7 在eclispe上用vss必须下载VSS插件。配置好插件后就可new project了8 创建工程后,删除除工程和java运行环包,总之可以删除的都可以删去,只保留工程。在工程上点右键,从VSS上share工程就可以了。9 在客户端连服务端时,可能会出现警告和错误,即使你能保证名字正确。这种情况重新browser 就可消除警告。
使用说明