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

Class SOSCheckin

public class SOSCheckin extends SOS

Commits and unlocks files in Visual SourceSafe via a SourceOffSite server.

UNKNOWN: name="soscheckin" category="scm"

Method Summary
protected CommandlinebuildCmdLine()
Build the command line.
voidsetComment(String comment)
The comment to apply to all files being labelled.
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.

CheckInFile required parameters: -server -name -password -database -project -file
CheckInFile optional parameters: -workdir -log -verbose -nocache -nocompression -soshome
CheckInProject required parameters: -server -name -password -database -project
CheckInProject optional parameters: workdir -recursive -log -verbose -nocache -nocompression -soshome

Returns: Commandline the generated command to be executed

setComment

public void setComment(String comment)
The comment to apply to all files being labelled.

Parameters: comment The new comment value

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.