subvision

1.安装服务端:subvision
2.创建资源库:svnadmin create 名称
3.启动服务:svnserve -d -r 目录

4.加入Windows服务:sc create 名称 binpath= "D:\Program Files\Subversion\bin\svnserve.exe --service -r E:\workspace\svn\BBS"  depend= Tcpip
(注意:binpath=后面有个空格)
5.删除服务:sc delete 名称

add to service
echo off
echo add to windows services

sc create MySvnService binpath= "D:\Program Files\Subversion\bin\svnserve.exe --service -r E:\workspace\svn\BBS"  depend= Tcpip

pause


delete from service
echo off
echo add to windows services

sc delete MySvnService
pause

你可能感兴趣的:(java,windows,SVN,subversion,bbs)