NAnt Help Task Reference <vsslabel> | NAnt.Contrib.Tasks () |
Used to apply a label to a Visual Source Safe item.
Attribute | Type | Description | Required |
---|---|---|---|
label | string | The value of the label. Required. | True |
comment | string | The label comment. | 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 |
Label all files in a local sourcesafe database. (Automatically applies the label recursively)
<vsslabel user="myusername" password="mypassword" dbpath="C:\VSS\srcsafe.ini" path="$/MyProduct" comment="NAnt label" label="myLabel" />
Label a file in a remote sourcesafe database.
<vsslabel user="myusername" password="mypassword" dbpath="\\MyServer\VSS\srcsafe.ini" path="$/MyProduct/myFile.cs" comment="NAnt label" label="myLabel" />