Summary
Applies a ClearCase label.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .ClearCase - Base Types
-
- Core
.Tasks .ExternalProgramBase - ClearCaseBase
- Core
graph BT
Type-->Base0["ClearCaseBase"]
click Base0 "/api/NAnt.Contrib.Tasks.ClearCase/ClearCaseBase"
Base0-->Base1["Core.Tasks.ExternalProgramBase"]
Type["ClearCaseMkLabel"]
class Type type-node
Syntax
[TaskName("ccmklabel")]
public class ClearCaseMkLabel : ClearCaseBase
Examples
Performs a ClearCase mklabel on the file c:/views/viewdir/afile under
the main branch for version 2 (\main\2). All matching
elements will be applied with label VERSION_1.
Some comment text is added as a comment. Subdirectories will be recursed.
<ccmklabel viewpath="c:/views/viewdir/afile"
comment="Some comment text"
recurse="true"
version="\main\2"
typename="VERSION_1"/>
Remarks
This task uses the cleartool mklabel command to apply a ClearCase label to specified elements.
Attributes
| Type | Description |
|---|---|
| TaskName |
Properties
| Name | Value | Summary |
|---|---|---|
| Command |
string |
This is an override used by the base class to get command specific args.
|
| Comment | string |
Specify a comment. Only one of
NAnt.Contrib.Tasks.ClearCase.ClearCaseMkLabel.Comment or
NAnt.Contrib.Tasks.ClearCase.ClearCaseMkLabel.CommentFile may be used.
|
| CommentFile | FileInfo |
Specify a file containing a comment. Only one of
NAnt.Contrib.Tasks.ClearCase.ClearCaseMkLabel.Comment
or NAnt.Contrib.Tasks.ClearCase.ClearCaseMkLabel.CommentFile may be used.
|
| Follow | bool |
For any VOB symbolic links encountered, labels the corresponding target.
|
| ProgramArguments | string |
Overrides the base class.
Inherited from ClearCaseBase
|
| Recurse | bool |
If
true, process each subdirectory recursively under the viewpath.
Default is false.
|
| Replace | bool |
If
true, allow the replacement of a
label of the same type on the same branch.
The default is false.
|
| Typename | string |
Name of the label type
|
| Version | string |
Identify a specific version to attach the label to.
|
| ViewPath | FileInfo |
Path to the ClearCase view file or directory that the command will
operate on.
|
| Vob | string |
Path to the ClearCase view file or directory that the command will operate on.
|
Methods
| Name | Value | Summary |
|---|---|---|
| ExecuteTask |
void |
Execute the perforce command assembled by subclasses.
Inherited from ClearCaseBase
|
See Also
- NAnt.Contrib.Tasks.ClearCase.ClearCaseMkLbType
