VSsextractor's use of this tool to convert VSS engineering to CVS project conversion requires two programs, one is VSSextractor.exe of the VSS side, a Window-based platform, a CServer based on the CVS, based on Linux. Version: I use 0.7 .2, the original version of his CServer program needs to be a CVS patch. This version has been directly Patch, and with his request, CVS1.11.1p1, saves yourself to download CVS in the process of Patch. It is better to compile directly. Vssextractor.exe under WINDOW is well used. Configuration method: CSERVER Just configuring CServer.conf files Just # # cserver configuration file #
# Ports Default is quite good [Commandport] 4555
# Warning: Data Port Must Be Command Port 1 Default is quite good [DataPort] 4556
# CVS Repository Change to the directory of the CVS project you want to generate, no need to be a CVS warehouse (cvsroot directory) [cvsroot] / root / software / cvs / src
# TMP Directory [Tempdir] / TMP
# logfile file The path to exist, otherwise the prompt cannot be opened, and it will happen together. [Logfile] / ROOT/software/cvs/cserver.log
VSsextractor.exe just configures vssextractor.ini just fine # # vssextractor configuration file #
# SourceSafe Server Repository Your warehouse path, that is, the position of the srcsafe.ini file [SSDIR] E: / VSS warehouse
# Login and Password for the SourceSafe Server # data format is -ylogin, Pass seems to do not work, you must create a single-name account [vssloginpass] -ylogin, pass
# SourceSafe Language, Support Languages Are English, Freanch and German [vsslang] English
# Local Computer Parameters Sets VSS executable information [vsspath] E: / Vss Warehouse / Win32 [vssExec] ss.exe [Tempdir] C: / Temp
# Conversion Server Name & Port Server Name and Port [Server] www.redhat24.com [port] 4555
# Projects to Convert - There Can Be More Than One Want To convert the project, you can multiple [Project] $ / TEST1 [Project] $ / TEST2
# Conversion Mode - Toggle to no when Want to use an existing XML file [generatexml] YES
# Edition mode - Toggle to no when you want standard conversion [editXML] YES
# Recurse Through The Project Tree? [Recursion] YES
# Names for the output files [xmlfile] Tree.xml [logfile] logfile.txt
After configuring, first run CServer, running vssextractor.exe, and the rest will be automatically completed. Note: The account must be established in VSS with Windows system users, vssextractor.exe is used to operate VSS warehouses with current login users. Linux machines do not need CVS servers, CServer has done all things. In the middle, some strange phenomena: The name of the server is to be resolved in DNS. I installed a DNS server I installed www.redhat24.com, and viewed the code, vssextractor.exe is used. GethostByname finds the Server's Name and then connects the server by the IP connection. I don't know if this function is still looking for the address in other ways. I can't test the modification of the HOSTS file. Of course, you can also be compiled by modifying the program. Remember to be a function ConnectServer in the NetInterFace class.
When I started to turn, I always prompt to the DOS path invalid tips, and later I deleted the ss.ini file under the VSS user. He may pass the information checkout file in SS.INI, and SS.INI records the Checkout path of my project. My engineering path is Chinese, may not be supported.
When VSSExtractor.exe analysis VSS project, some projects always prompt to Parse Event [2] error, the project should have no problem, I later became another engineering name by putting a problematic project first Share as another project name, in the new There is no problem in the project, and the history of them is the same, weird.