Summary
Processes Surround SCM batch files.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .SurroundSCM - Base Types
-
- ExternalProgramBase
- SSCMTask
graph BT
Type-->Base0["SSCMTask"]
click Base0 "/api/NAnt.Contrib.Tasks.SurroundSCM/SSCMTask"
Base0-->Base1["ExternalProgramBase"]
Type["SSCMBatch"]
class Type type-node
Syntax
[TaskName("sscmbatch")]
public class SSCMBatch : SSCMTask
Examples
Run the batch file ${src}/sscm.batch
on the server at localhost,
port 4900 with username 'administrator' and a blank password. All script
output is directed to the console.
<sscmbatch
serverconnect="localhost:4900"
serverlogin="administrator:"
input="${src}/sscm.batch"
/>
Run the batch file ${src}/sscm.batch
on the server at localhost,
port 4900 with username 'administrator' and a blank password. All script
output is redirected to ${dist}/sscm.batch.out
.
<sscmbatch
serverconnect="localhost:4900"
serverconnect="administrator:"
input="${src}/sscm.batch"
output="${dist}/sscm.batch.out"
/>
Remarks
Processes the batch commands found in the input file. Each line in the
input file should contain a single Surround SCM command including proper
command line options. The sscm command, Surround SCM server address,
port number, username and password are not required for each command line.
Attributes
Type | Description |
---|---|
TaskName |
Properties
Name | Value | Summary |
---|---|---|
ExeName | string |
Override ExeName paramater to sscm.exe for Surround SCM.
Inherited from SSCMTask
|
InputFile | FileInfo |
File to read commands from.
|
OutputFile | FileInfo |
File to direct all standard output to. When executing commands from
the input file, all output is written to this file instead of being
displayed on the screen.
|
ProgramArguments | string |
Gets the command line arguments for the external program.
Inherited from SSCMTask
|
ServerConnect | string |
The address and port number of the Surround SCM server host computer.
Format is server:port. If not entered, the last saved connection
parameters are used.
Inherited from SSCMTask
|
ServerLogin | string |
The username and password used to login to the Surround SCM server.
Format is username:password. If not entered, the last saved login
parameters are used.
Inherited from SSCMTask
|
Methods
Name | Value | Summary |
---|---|---|
Write |
void |
Writes the task-specific arguments to the specified
System.Text.StringBuilder .
|