org.apache.tools.ant.taskdefs.optional.sos

Class SOSCheckout

public class SOSCheckout extends SOS

Retrieves and locks files in Visual SourceSafe via a SourceOffSite server.

UNKNOWN: name="soscheckout" category="scm"

Method Summary
protected CommandlinebuildCmdLine()
Build the command line
CheckOutFile required parameters: -server -name -password -database -project -file
CheckOutFile optional parameters: -workdir -verbose -nocache -nocompression -soshome
CheckOutProject required parameters: -server -name -password -database -project
CheckOutProject optional parameters:-workdir -recursive -verbose -nocache -nocompression -soshome
voidsetFile(String filename)
The filename to act upon.
voidsetRecursive(boolean recursive)
Flag to recursively apply the action.

Method Detail

buildCmdLine

protected Commandline buildCmdLine()
Build the command line
CheckOutFile required parameters: -server -name -password -database -project -file
CheckOutFile optional parameters: -workdir -verbose -nocache -nocompression -soshome
CheckOutProject required parameters: -server -name -password -database -project
CheckOutProject optional parameters:-workdir -recursive -verbose -nocache -nocompression -soshome

Returns: Commandline the generated command to be executed

setFile

public final void setFile(String filename)
The filename to act upon. If no file is specified then the task acts upon the project.

Parameters: filename The new file value

setRecursive

public void setRecursive(boolean recursive)
Flag to recursively apply the action. Defaults to false.

Parameters: recursive True for recursive operation.

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.