Assigns a label to the specified version or current version of a file or project.
| Attribute | Values | Required |
|---|---|---|
| login | username,password | No |
| vsspath | SourceSafe path | Yes |
| serverPath | directory where srssafe.ini resides. |
No |
| ssdir | directory where ss.exe resides. By default the task
expects it to be in the PATH. |
No |
| label | A label to apply to the hierarchy | Yes |
| version | An existing file or project version to label. By default the current version is labelled. | No |
<vsslabel vsspath="/source/aProject"
login="me,mypassword"
label="Release1"/>
Labels the current version of the VSS project $/source/aproject with the label Release1 using the username me and the password mypassword.
<vsslabel vsspath="/source/aProject/myfile.txt"
version="4"
label="1.03.004"/>
Labels version 4 of the VSS file $/source/aproject/myfile.txt with the label 1.03.004. If this version already has a label, the operation (and the build) will fail.
Copyright © 2000,2001 Apache Software Foundation. All rights Reserved.