SOSGet
Description
Task to perform GET commands with SOS
Parameters
Attribute | Description | Required |
soscmd | Directory which contains soscmd(.exe) soscmd(.exe) must be in the path if this is not specified | No |
vssserverpath | path to the srcsafe.ini -
e.g.
![]() ![]() ![]() |
Yes |
sosserverpath | address & port of the SOS server - eg. 192.168.0.1:8888 | Yes |
projectpath | SourceSafe project path without the "$" | Yes |
file | Filename to act upon If no file is specified then act upon the project | No |
username | SourceSafe username | Yes |
password | SourceSafe password | No |
localpath | Override the working directory and get to the specified path | No |
soshome | The path to the SourceOffSite home directory | No |
nocompress | true or false - disable compression | No |
recursive | true or false - Only works with the GetProject command | No |
version | a version number to get - Only works with the GetFile command | No |
label | a label version to get - Only works with the GetProject command | No |
nocache | true or false - Only needed if SOSHOME is set as an environment variable | No |
verbose | true or false - Status messages are displayed | No |
Example
<sosget verbose="true" recursive="true" username="build" password="build" localpath="tmp" projectpath="/SourceRoot/project1" sosserverpath="192.168.10.6:8888" vssserverpath="d:\vss\srcsafe.ini"/>Connects to a SourceOffsite server on 192.168.10.6:8888 with build,build as the username & password. The SourceSafe database resides on the same box as the SOS server & the VSS database is at "d:
SOSLabel
Description
Task to perform Label commands with SOS
Parameters
Attribute | Description | Required |
soscmd | Directory which contains soscmd(.exe) soscmd(.exe) must be in the path if this is not specified | No |
vssserverpath | path to the srcsafe.ini -
e.g.
![]() ![]() ![]() |
Yes |
sosserverpath | address and port of the SOS server - eg. 192.168.0.1:8888 | Yes |
projectpath | SourceSafe project path without the "$" | Yes |
username | SourceSafe username | Yes |
password | SourceSafe password | No |
label | The label to apply to a project | Yes |
comment | A comment to be applied to all files being labeled | No |
verbose | true or false - Status messages are displayed | No |
Example
<soslabel username="build" password="build" label="test label" projectpath="/SourceRoot/project1 sosserverpath="192.168.10.6:8888" vssserverpath="d:\vss\srcsafe.ini"/>Connects to a SourceOffsite server on 192.168.10.6:8888 with build,build as the username & password. The SourceSafe database resides on the same box as the SOS server & the VSS database is at "d:
SOSCheckIn
Description
Task to perform CheckIn commands with SOS
Parameters
Attribute | Description | Required |
soscmd | Directory which contains soscmd(.exe) soscmd(.exe) must be in the path if this is not specified | No |
vssserverpath | path to the srcsafe.ini -
e.g.
![]() ![]() ![]() |
Yes |
sosserverpath | address and port of the SOS server - eg. 192.168.0.1:8888 | Yes |
projectpath | SourceSafe project path without the "$" | Yes |
file | Filename to act | upon |
If | no file is specified then act upon the project | No |
username | SourceSafe username | Yes |
password | SourceSafe password | No |
localpath | Override the working directory and get to the specified path | No |
soshome | The path to the SourceOffSite home directory | No |
nocompress | true or false - disable compression | No |
recursive | true or false - Only works with the CheckOutProject command | No |
nocache | true or false - Only needed if SOSHOME is set as an environment variable | No |
verbose | true or false - Status messages are displayed | No |
comment | A comment to be applied to all files being checked in | No |
Example
<soscheckin username="build" password="build" file="foobar.txt" verbose="true" comment="comment abc" projectpath="/SourceRoot/project1" sosserverpath="server1:8888" vssserverpath="\\server2\vss\srcsafe.ini"/>Connects to a SourceOffsite server on server1:8888 with build,build as the username & password. The SourceSafe database resides on a different box (server2) & the VSS database is on a share called "vss". Checks-in only the "foobar.txt" file adding a comment of "comment abc". Extra status messages will be displayed on screen.
SOSCheckOut
Description
Task to perform CheckOut commands with SOS
Parameters
Attribute | Description | Required |
soscmd | Directory which contains soscmd(.exe) soscmd(.exe) must be in the path if this is not specified | No |
vssserverpath | path to the srcsafe.ini - eg.
![]() ![]() ![]() |
Yes |
sosserverpath | address and port of the SOS server - eg. 192.168.0.1:8888 | Yes |
projectpath | SourceSafe project path without the "$" | Yes |
file | Filename to act upon If no file is specified then act upon the project | No |
username | SourceSafe username | Yes |
password | SourceSafe password | No |
localpath | Override the working directory and get to the specified path | No |
soshome | The path to the SourceOffSite home directory | No |
nocompress | true or false - disable compression | No |
recursive | true or false - Only works with the CheckOutProject command | No |
nocache | true or false - Only needed if SOSHOME is set as an environment variable | No |
verbose | true or false - Status messages are displayed | No |
Example
<soscheckout soscmd="/usr/local/bin" verbose="true" username="build" password="build" projectpath="/SourceRoot/project1" sosserverpath="192.168.10.6:8888" vssserverpath="\\server2\vss\srcsafe.ini"/>Connects to a SourceOffsite server on server1:8888 with build,build as the username & password. The SourceSafe database resides on a different box (server2) & the VSS database is on a share called "vss". Checks-out "project1", Only the "project1" directory will be locked as the recursive option was not set. Extra status messages will be displayed on screen. The soscmd(.exe) file to be used resides in /usr/local/bin.