NAnt
Help
Task Reference
<vsscheckin> |
NAnt.Contrib.Tasks () |
Used to checkin files into Visual Source Safe.
| Attribute | Type | Description | Required |
|---|---|---|---|
| localpath | string | The absolute path to the local working directory. Required. | True |
| comment | string | The comment for the new version. | False |
| recursive | string | Determines whether to perform a recursive checkin. Default value is true when omitted. | False |
| writable | string | Determines whether to leave the file(s) as writable. Default value is false when omitted. | False |
| dbpath | string | The absolute path to the folder that contains the srcsafe.ini. Required. | True |
| path | string | The source safe project or file path, starting with "$/". Required. | True |
| user | string | The user id to use to login to the Source Safe database. Required. | True |
| failonerror | bool | False | |
| if | bool | False | |
| password | string | The password to use to login to the Source Safe database. | False |
| unless | bool | False | |
| verbose | bool | False | |
| version | string | A version of the path to reference. Accepts multiple forms, including the label, version number, or date of the version. If omitted, the latest version is used. | False |
Checkin all files from an absolute directory to a local sourcesafe database.
<vsscheckin
user="myusername"
password="mypassword"
localpath="C:\Dev\Latest"
recursive="true"
writable="true"
dbpath="C:\VSS\srcsafe.ini"
path="$/MyProduct"
comment="NAnt checkin"
/>
Checkin a file from a relative directory to a remote sourcesafe database.
<vsscheckin
user="myusername"
password="mypassword"
localpath="Latest\myFile.cs"
recursive="false"
writable="true"
dbpath="\\MyServer\VSS\srcsafe.ini"
path="$/MyProduct/myFile.cs"
comment="NAnt checkin"
/>