Franky's LIFE

Anything... ...

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  53 随笔 :: 87 文章 :: 6 评论 :: 0 Trackbacks
由于项目需要,采用vss进行源代码版本管理。只使用其中的少数几个命令:get cloak decloak workfold etc...

@echo off
path=%path%;E:\tools\microsoft\vss60c\VSS\Win32;C:\Program Files\Microsoft Visual Studio\VSS\win32
e:
cd E:\work\SinoTrans\src
@set SSDIR=\\172.16.0.142\海运项目二期$\
@set ssuser=fuzhonghua
@set sspassword=qazwsx

rem begin to get server-side code
ss workfold "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source" "E:\work\SinoTrans\src"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client"
ss get "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/" -r -i

rem begin to get client code
cd E:\work\SinoTrans\client
ss decloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client"
ss workfold "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client" "E:\work\SinoTrans\client"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client/awakemgt/referencedll"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client/creditmgt/referencedll"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client/custsuppmgt/referencedll"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client/ffsettlement/referencedll"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client/papermgt/referencedll"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client/sacontainer/bin"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client/sahusbandry/bin"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client/sasettlement/bin"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client/statusmgt/referencedll"
ss cloak "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client/sysmgt/bin"

ss get "$/Sinotrans Ocean II/06 Coding & Unit Testing/04 Source/com/sinotrans/marine/client" -r -i

cd \

more detail pls refer to: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guides/html/vstskuse_command_line_commands_and_options.asp
posted on 2006-10-23 11:28 Franky 阅读(743) 评论(0)  编辑  收藏 所属分类: IT知识

只有注册用户登录后才能发表评论。


网站导航: