2006-09-11 04:19:00 +00:00
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2002-01-31 19:47:40 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
2005-04-29 18:58:16 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
|
2005-03-07 18:11:14 +00:00
|
|
|
<title>SOS Tasks</title>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
</head>
|
2002-09-26 13:28:41 +00:00
|
|
|
<body>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
|
|
|
<div align="center">
|
2002-01-31 19:47:40 +00:00
|
|
|
<h1>SourceOffSite Tasks User Manual</h1>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
|
|
|
<div align="left">by
|
2002-01-31 19:47:40 +00:00
|
|
|
<ul>
|
2002-02-01 00:02:24 +00:00
|
|
|
<li><a href="mailto:jesse@cryptocard.com">Jesse Stockall</a></li>
|
2002-01-31 19:47:40 +00:00
|
|
|
</ul>
|
2002-02-01 00:02:24 +00:00
|
|
|
Version 1.1 2002/01/23
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<hr width="100%" size="2">
|
2002-01-31 19:47:40 +00:00
|
|
|
<h2>Contents</h2>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<ul>
|
2002-07-09 21:06:15 +00:00
|
|
|
<li><a href="#intro">Introduction</a></li>
|
2002-02-01 00:02:24 +00:00
|
|
|
<li><a href="#tasks">The Tasks</a></li>
|
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
</ul>
|
2002-02-01 00:02:24 +00:00
|
|
|
<br>
|
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<h2><a name="intro">Introduction</a> </h2>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
|
|
|
<p>These tasks provide an interface to the <a href="http://msdn.microsoft.com/ssafe/default.asp" target="_top">
|
|
|
|
Microsoft Visual SourceSafe</a> SCM via <a href="http://www.sourcegear.com">
|
|
|
|
SourceGear's</a> <a href="http://sourcegear.com/sos/index.htm">SourceOffSite</a>
|
|
|
|
product. SourceOffSite is an add-on to Microsoft's VSS, that allows remote
|
|
|
|
development teams and tele-commuters that need fast and secure read/write
|
|
|
|
access to a centralized SourceSafe database via any TCP/IP connection. SOS
|
|
|
|
provides Linux ,Solaris & Windows clients. The
|
|
|
|
<code> org.apache.tools.ant.taskdefs.optional.sos</code>
|
|
|
|
package consists of a simple framework to support SOS functionality as well
|
2002-01-31 19:47:40 +00:00
|
|
|
as some Ant tasks encapsulating frequently used SOS commands. Although it
|
|
|
|
is possible to use these commands on the desktop, they were primarily intended
|
|
|
|
to be used by automated build systems. These tasks have been tested with
|
2002-02-01 00:02:24 +00:00
|
|
|
SourceOffSite version 3.5.1 connecting to VisualSourceSafe 6.0. The tasks
|
|
|
|
have been tested with Linux, Solaris & Windows2000.</p>
|
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<h2><a name="tasks">The Tasks</a> </h2>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<table border="0" cellspacing="0" cellpadding="3">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2002-02-01 00:02:24 +00:00
|
|
|
<td><a href="#SOSGet">sosget</a></td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Retrieves a read-only copy of the specified project or file.</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-07-09 21:06:15 +00:00
|
|
|
<td><a href="#SOSLabel">soslabel</a></td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Assigns a label to the specified project.</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-07-09 21:06:15 +00:00
|
|
|
<td><a href="#SOSCheckIn">soscheckin</a></td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Updates VSS with changes made to a checked out file or project,
|
2002-02-01 00:02:24 +00:00
|
|
|
and unlocks the VSS master copy.</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-07-09 21:06:15 +00:00
|
|
|
<td><a href="#SOSCheckOut">soscheckout</a></td>
|
|
|
|
<td>Retrieves a read-write copy of the specified project
|
2002-02-01 00:02:24 +00:00
|
|
|
or file, locking the VSS master copy</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
</tr>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
|
|
|
</tbody>
|
2002-01-31 19:47:40 +00:00
|
|
|
</table>
|
|
|
|
<br>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
|
|
|
<hr width="100%" size="2">
|
2002-01-31 19:47:40 +00:00
|
|
|
<h2>Task Descriptions</h2>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
|
|
|
<h2><a name="SOSGet"></a>SOSGet<br>
|
|
|
|
</h2>
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Description</h3>
|
2002-02-01 00:02:24 +00:00
|
|
|
Task to perform GET commands with SOS<br>
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Parameters</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<table border="1">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Attribute</th>
|
|
|
|
<th>Values</th>
|
|
|
|
<th>Required</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-02-01 00:02:24 +00:00
|
|
|
<td>soscmd</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Directory which contains soscmd(.exe) <br>
|
|
|
|
soscmd(.exe) must be in the path if this is not specified</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>vssserverpath</td>
|
|
|
|
<td>path to the srcsafe.ini - eg. \\server\vss\srcsafe.ini</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>sosserverpath</td>
|
|
|
|
<td>address & port of the SOS server - eg. 192.168.0.1:8888</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>projectpath</td>
|
2002-09-26 13:28:41 +00:00
|
|
|
<td>SourceSafe project path - eg. $/SourceRoot/Project1</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>file</td>
|
|
|
|
<td>Filename to act upon<br>
|
2002-02-01 00:02:24 +00:00
|
|
|
If no file is specified then act upon the project</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>username</td>
|
|
|
|
<td>SourceSafe username</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>password</td>
|
|
|
|
<td>SourceSafe password</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>localpath</td>
|
|
|
|
<td>Override the working directory and get to the specified path</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>soshome</td>
|
|
|
|
<td>The path to the SourceOffSite home directory</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-02-01 00:02:24 +00:00
|
|
|
<td>nocompress</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>true or false - disable compression</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>recursive</td>
|
|
|
|
<td>true or false - Only works with the GetProject command</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>version</td>
|
|
|
|
<td>a version number to get - Only works with the GetFile command</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>label</td>
|
|
|
|
<td>a label version to get - Only works with the GetProject command</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>nocache</td>
|
2002-02-03 21:26:18 +00:00
|
|
|
<td>true or false - Only needed if SOSHOME is set as an environment variable</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>verbose</td>
|
|
|
|
<td>true or false - Status messages are displayed</td>
|
|
|
|
<td>No</td>
|
2002-02-01 00:02:24 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
2002-01-31 19:47:40 +00:00
|
|
|
</table>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Example</h3>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-09-04 11:05:19 +00:00
|
|
|
<pre>
|
2002-09-26 13:28:41 +00:00
|
|
|
<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"/>
|
2002-09-04 11:05:19 +00:00
|
|
|
</pre>
|
2002-02-01 00:02:24 +00:00
|
|
|
<small>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
|
2002-09-26 13:28:41 +00:00
|
|
|
"d:\vss\srcsafe.ini" Does a recursive GetProject on
|
|
|
|
$/SourceRoot/project1, using tmp as the working
|
|
|
|
directory. </small><br>
|
2002-02-01 00:02:24 +00:00
|
|
|
<br>
|
|
|
|
|
|
|
|
<hr width="100%" size="2">
|
|
|
|
<h2><a name="SOSLabel"></a>SOSLabel</h2>
|
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Description</h3>
|
2002-02-01 00:02:24 +00:00
|
|
|
Task to perform Label commands with SOS<br>
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Parameters</h3>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<table border="1">
|
2002-09-26 13:28:41 +00:00
|
|
|
<tbody><tr>
|
2002-01-31 19:47:40 +00:00
|
|
|
<th>Attribute</th>
|
|
|
|
<th>Values</th>
|
|
|
|
<th>Required</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-02-01 00:02:24 +00:00
|
|
|
<td>soscmd</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Directory which contains soscmd(.exe) <br>
|
|
|
|
soscmd(.exe) must be in the path if this is not specified</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>vssserverpath</td>
|
|
|
|
<td>path to the srcsafe.ini - eg. \\server\vss\srcsafe.ini</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>sosserverpath</td>
|
|
|
|
<td>address and port of the SOS server - eg. 192.168.0.1:8888</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>projectpath</td>
|
2002-09-26 13:28:41 +00:00
|
|
|
<td>SourceSafe project path - eg. $/SourceRoot/Project1</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
2002-02-01 00:02:24 +00:00
|
|
|
<tr>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>username</td>
|
|
|
|
<td>SourceSafe username</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>password</td>
|
|
|
|
<td>SourceSafe password</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>label</td>
|
|
|
|
<td>The label to apply to a project</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>comment</td>
|
|
|
|
<td>A comment to be applied to all files being labeled</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>verbose</td>
|
|
|
|
<td>true or false - Status messages are displayed</td>
|
|
|
|
<td>No</td>
|
2002-02-01 00:02:24 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
2002-01-31 19:47:40 +00:00
|
|
|
</table>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Example</h3>
|
2002-09-04 11:05:19 +00:00
|
|
|
<pre>
|
2002-09-26 13:28:41 +00:00
|
|
|
<soslabel username="build"
|
|
|
|
password="build"
|
|
|
|
label="test label"
|
|
|
|
projectpath="$/SourceRoot/project1"
|
|
|
|
sosserverpath="192.168.10.6:8888"
|
|
|
|
vssserverpath="d:\vss\srcsafe.ini"/>
|
2002-09-04 11:05:19 +00:00
|
|
|
</pre>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
|
|
|
<small>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
|
2002-09-26 13:28:41 +00:00
|
|
|
"d:\vss\srcsafe.ini". Labels the $/SourceRoot/project1
|
|
|
|
project with "test label".</small><br>
|
2002-02-01 00:02:24 +00:00
|
|
|
<br>
|
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<hr width="100%" size="2"><br>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
|
|
|
<h2><a name="SOSCheckIn"></a>SOSCheckIn</h2>
|
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Description</h3>
|
2002-02-01 00:02:24 +00:00
|
|
|
Task to perform CheckIn commands with SOS<br>
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Parameters</h3>
|
|
|
|
<table border="1">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Attribute</th>
|
|
|
|
<th>Values</th>
|
|
|
|
<th>Required</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-02-01 00:02:24 +00:00
|
|
|
<td>soscmd</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Directory which contains soscmd(.exe) <br>
|
|
|
|
soscmd(.exe) must be in the path if this is not specified</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>vssserverpath</td>
|
|
|
|
<td>path to the srcsafe.ini - eg. \\server\vss\srcsafe.ini</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>sosserverpath</td>
|
|
|
|
<td>address and port of the SOS server - eg. 192.168.0.1:8888</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>projectpath</td>
|
2002-09-26 13:28:41 +00:00
|
|
|
<td>SourceSafe project path - eg. $/SourceRoot/Project1</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>file</td>
|
|
|
|
<td>Filename to act upon<br> If no file is specified then act upon the project</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>username</td>
|
|
|
|
<td>SourceSafe username</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>password</td>
|
|
|
|
<td>SourceSafe password</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>localpath</td>
|
|
|
|
<td>Override the working directory and get to the specified path</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>soshome</td>
|
|
|
|
<td>The path to the SourceOffSite home directory</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-02-01 00:02:24 +00:00
|
|
|
<td>nocompress</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>true or false - disable compression</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>recursive</td>
|
|
|
|
<td>true or false - Only works with the CheckOutProject command</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>nocache</td>
|
2002-02-03 21:26:18 +00:00
|
|
|
<td>true or false - Only needed if SOSHOME is set as an environment variable</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>verbose</td>
|
|
|
|
<td>true or false - Status messages are displayed</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
2002-09-26 13:28:41 +00:00
|
|
|
<tr><td>comment</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>A comment to be applied to all files being checked in</td>
|
|
|
|
<td>No</td>
|
2002-02-01 00:02:24 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
2002-01-31 19:47:40 +00:00
|
|
|
</table>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Example</h3>
|
2002-09-04 11:05:19 +00:00
|
|
|
<pre>
|
2002-09-26 13:28:41 +00:00
|
|
|
<soscheckin username="build"
|
|
|
|
password="build"
|
|
|
|
file="foobar.txt"
|
|
|
|
verbose="true"
|
|
|
|
comment="comment abc"
|
|
|
|
projectpath="$/SourceRoot/project1"
|
|
|
|
sosserverpath="server1:8888"
|
|
|
|
vssserverpath="\\server2\vss\srcsafe.ini"/>
|
2002-09-04 11:05:19 +00:00
|
|
|
</pre>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
|
|
|
<small>Connects to a SourceOffsite server on server1:8888 with build,build as
|
|
|
|
the username & password. The SourceSafe database resides on a different
|
2002-09-26 13:28:41 +00:00
|
|
|
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.</small><br>
|
2002-02-01 00:02:24 +00:00
|
|
|
<br>
|
|
|
|
|
|
|
|
<hr width="100%" size="2">
|
|
|
|
<h2><a name="SOSCheckOut"></a>SOSCheckOut</h2>
|
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Description</h3>
|
2002-02-01 00:02:24 +00:00
|
|
|
Task to perform CheckOut commands with SOS<br>
|
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Parameters</h3>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<table border="1">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Attribute</th>
|
|
|
|
<th>Values</th>
|
|
|
|
<th>Required</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-02-01 00:02:24 +00:00
|
|
|
<td>soscmd</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Directory which contains soscmd(.exe) <br>
|
|
|
|
soscmd(.exe) must be in the path if this is not specified</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>vssserverpath</td>
|
|
|
|
<td>path to the srcsafe.ini - eg. \\server\vss\srcsafe.ini</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>sosserverpath</td>
|
|
|
|
<td>address and port of the SOS server - eg. 192.168.0.1:8888</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>projectpath</td>
|
2002-09-26 13:28:41 +00:00
|
|
|
<td>SourceSafe project path - eg. $/SourceRoot/Project1</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>file</td>
|
|
|
|
<td>Filename to act upon<br> If no file is specified then act upon the project</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>username</td>
|
|
|
|
<td>SourceSafe username</td>
|
|
|
|
<td>Yes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>password</td>
|
|
|
|
<td>SourceSafe password</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>localpath</td>
|
|
|
|
<td>Override the working directory and get to the specified path</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>soshome</td>
|
|
|
|
<td>The path to the SourceOffSite home directory</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-02-01 00:02:24 +00:00
|
|
|
<td>nocompress</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>true or false - disable compression</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>recursive</td>
|
|
|
|
<td>true or false - Only works with the CheckOutProject command</td>
|
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>nocache</td>
|
2002-02-03 21:26:18 +00:00
|
|
|
<td>true or false - Only needed if SOSHOME is set as an environment variable</td>
|
2002-01-31 19:47:40 +00:00
|
|
|
<td>No</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>verbose</td>
|
|
|
|
<td>true or false - Status messages are displayed</td>
|
|
|
|
<td>No</td>
|
2002-02-01 00:02:24 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
2002-01-31 19:47:40 +00:00
|
|
|
</table>
|
|
|
|
<br>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
<h3>Example</h3>
|
2002-09-04 11:05:19 +00:00
|
|
|
<pre>
|
2002-09-26 13:28:41 +00:00
|
|
|
<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"/>
|
2002-09-04 11:05:19 +00:00
|
|
|
</pre>
|
2002-02-01 00:02:24 +00:00
|
|
|
|
|
|
|
<small>Connects to a SourceOffsite server on server1:8888 with build,build as
|
|
|
|
the username & password. The SourceSafe database resides on a different
|
2002-09-26 13:28:41 +00:00
|
|
|
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
|
2002-02-01 00:02:24 +00:00
|
|
|
soscmd(.exe) file to be used resides in /usr/local/bin.</small><br>
|
|
|
|
<br>
|
2006-09-11 04:33:25 +00:00
|
|
|
|
2002-01-31 19:47:40 +00:00
|
|
|
</body>
|
|
|
|
</html>
|