org.apache.tools.ant.taskdefs.optional.vss

Class MSVSSADD

public class MSVSSADD extends MSVSS

Performs Add commands to Microsoft Visual SourceSafe.

UNKNOWN: name="vssadd" category="scm"

Method Summary
protected CommandlinebuildCmdLine()
Builds a command line to execute ss.
protected StringgetLocalpath()
Returns the local path without the flag.; required
voidsetAutoresponse(String response)
Autoresponce behaviour.
voidsetComment(String comment)
Comment to apply to files added to SourceSafe.
voidsetLocalpath(Path localPath)
Override the project working directory.
voidsetRecursive(boolean recursive)
Add files recursively.
voidsetWritable(boolean writable)
Unset the READ-ONLY flag on local copies of files added to VSS.

Method Detail

buildCmdLine

protected Commandline buildCmdLine()
Builds a command line to execute ss.

Returns: The constructed commandline.

getLocalpath

protected String getLocalpath()
Returns the local path without the flag.; required

Returns: The local path value.

UNKNOWN: See why this returns the local path without the flag.

setAutoresponse

public void setAutoresponse(String response)
Autoresponce behaviour. Valid options are Y and N.

Parameters: response The auto response value.

setComment

public void setComment(String comment)
Comment to apply to files added to SourceSafe.

Parameters: comment The comment to apply in SourceSafe

setLocalpath

public void setLocalpath(Path localPath)
Override the project working directory.

Parameters: localPath The path on disk.

setRecursive

public void setRecursive(boolean recursive)
Add files recursively. Defaults to false.

Parameters: recursive The boolean value for recursive.

setWritable

public final void setWritable(boolean writable)
Unset the READ-ONLY flag on local copies of files added to VSS. Defaults to false.

Parameters: writable The boolean value for writable.

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