Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.sos

public Class SOSGet

extends SOS
Class Inheritance
Imports
org.apache.tools.ant.types.Commandline

Retrieves a read-only copy of the specified project or file from Visual SourceSafe via a SourceOffSite server.

Field Summary

Inherited from org.apache.tools.ant.taskdefs.optional.sos.SOS:
commandLine

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Commandline

Returns:

Commandline the generated command to be executed
buildCmdLine
()

Implements abstract org.apache.tools.ant.taskdefs.optional.sos.SOS.buildCmdLine.

Build the command line

GetFile required parameters: -server -name -password -database -project -file GetFile optional parameters: -workdir -revision -verbose -nocache -nocompression -soshome GetProject required parameters: -server -name -password -database -project GetProject optional parameters: -label -workdir -recursive -verbose -nocache -nocompression -soshome

public final void
setFile(String
The new file value
filename
)

The Filename to act upon.

public void
setLabel(String
The new label value
label
)

The labeled version to operate on in SourceSafe.

public void
setRecursive(boolean
True for recursive operation.
recursive
)

Flag to recursively apply the action.

public void
setVersion(String
The new version value
version
)

Set the version number to get - only works with SOSGet on a file.

Inherited from org.apache.tools.ant.taskdefs.optional.sos.SOS:
executegetCommentgetFilenamegetLabelgetLocalPathgetNoCachegetNoCompressgetOptionalAttributesgetPasswordgetProjectPathgetRecursivegetRequiredAttributesgetSosCommandgetSosHomegetSosServerPathgetUsernamegetVerbosegetVersiongetVssServerPathrunsetInternalCommentsetInternalFilenamesetInternalLabelsetInternalRecursivesetInternalVersionsetLocalPathsetNoCachesetNoCompresssetPasswordsetProjectPathsetSosCmdsetSosHomesetSosServerPathsetUsernamesetVerbosesetVssServerPath

Constructor Detail

SOSGetback to summary
public SOSGet()

Method Detail

buildCmdLineback to summary
protected Commandline buildCmdLine()

Implements abstract org.apache.tools.ant.taskdefs.optional.sos.SOS.buildCmdLine.

Build the command line

GetFile required parameters: -server -name -password -database -project -file
GetFile optional parameters: -workdir -revision -verbose -nocache -nocompression -soshome
GetProject required parameters: -server -name -password -database -project
GetProject optional parameters: -label -workdir -recursive -verbose -nocache -nocompression -soshome

Returns:Commandline

Commandline the generated command to be executed

Annotations
@Override
setFileback to summary
public final void setFile(String filename)

The Filename to act upon. If no file is specified then the tasks act upon the project.

Parameters
filename:String

The new file value

setLabelback to summary
public void setLabel(String label)

The labeled version to operate on in SourceSafe.

Parameters
label:String

The new label value

setRecursiveback to summary
public void setRecursive(boolean recursive)

Flag to recursively apply the action. Defaults to false

Parameters
recursive:boolean

True for recursive operation.

setVersionback to summary
public void setVersion(String version)

Set the version number to get - only works with SOSGet on a file.

Parameters
version:String

The new version value