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

Class MSVSSGET

public class MSVSSGET extends MSVSS

Perform Get commands from Microsoft Visual SourceSafe.

UNKNOWN: name="vssget" category="scm" name="vdl" description="Only one of version, date or label"

Method Summary
voidsetAutoresponse(String response)
Autoresponce behaviour.
voidsetDate(String date)
Date to get.
voidsetFileTimeStamp(CurrentModUpdated timestamp)
Date and time stamp given to the local copy.
voidsetLabel(String label)
Label to get.
voidsetLocalpath(Path localPath)
Override the project working directory.
voidsetQuiet(boolean quiet)
Enable quiet mode.
voidsetRecursive(boolean recursive)
Get files recursively.
voidsetVersion(String version)
Version to get.
voidsetWritable(boolean writable)
Unset the READ-ONLY flag on files retrieved from VSS.
voidsetWritableFiles(WritableFiles files)
Action taken when local files are writable.

Method Detail

setAutoresponse

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

Parameters: response The auto response value.

setDate

public void setDate(String date)
Date to get.

Parameters: date The date to get.

UNKNOWN: group="vdl"

setFileTimeStamp

public void setFileTimeStamp(CurrentModUpdated timestamp)
Date and time stamp given to the local copy. Defaults to current.

Parameters: timestamp The file time stamping behaviour.

setLabel

public void setLabel(String label)
Label to get.

Parameters: label The label to get.

UNKNOWN: group="vdl"

setLocalpath

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

Parameters: localPath The path on disk.

setQuiet

public final void setQuiet(boolean quiet)
Enable quiet mode. Defaults to false.

Parameters: quiet The boolean value for quiet.

setRecursive

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

Parameters: recursive The boolean value for recursive.

setVersion

public void setVersion(String version)
Version to get.

Parameters: version The version to get.

UNKNOWN: group="vdl"

setWritable

public final void setWritable(boolean writable)
Unset the READ-ONLY flag on files retrieved from VSS. Defaults to false.

Parameters: writable The boolean value for writable.

setWritableFiles

public void setWritableFiles(WritableFiles files)
Action taken when local files are writable. Defaults to fail.

Due to ss.exe returning with an exit code of '100' for both errors and when a file has been skipped, failonerror is set to false when using the skip option.

Parameters: files The action to take.

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