next up previous contents index
Next: VssAdd Up: Microsoft Visual SourceSafe Tasks Previous: VssCheckin   Contents   Index

VssCheckout

Description

Task to perform CHECKOUT commands to Microsoft Visual SourceSafe.

If you specify two or more attributes from version, date and label only one will be used in the order version, date, label.

Parameters

Attribute Description Required
vsspath SourceSafe path which specifies the project/file(s) you wish to perform the action on. You should not specify the leading dollar-sign - it is prepended by Ant automatically. Yes
login username[,password] - The username and password needed to get access to VSS. Note that you may need to specify both (if you have a password) - Ant/VSS will hang if you leave the password out and VSS does not accept login without a password. No
localpath Override the working directory and get to the specified path No
ssdir directory where ss.exe resides. By default the task expects it to be in the PATH. No
serverPath directory where srssafe.ini resides. No
writable true or false No
recursive true or false No
version
date
label
a version number to get
a date stamp to get at
a label to get for
No, only one of these allowed

Examples

<vsscheckout vsspath="/test"
             localpath="D:\build"
             recursive="true"
             login="me,mypass"/>
Does a recursive checkout of the project test to the directory D: ${\backslash}{\backslash}$build.


next up previous contents index
Next: VssAdd Up: Microsoft Visual SourceSafe Tasks Previous: VssCheckin   Contents   Index
Andrew Marlow 2003-07-08