Summary
Creates a label object in a ClearCase VOB.
- 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["ClearCaseMkLbType"]
class Type type-node
Syntax
[TaskName("ccmklbtype")]
public class ClearCaseMkLbType : ClearCaseBase
Examples
Performs a ClearCase mklbtype to create a label type named VERSION_1
.
It is created as ordinary
so it is available only to the current VOB.
The text Development version 1
is added as a comment.
<ccmklbtype typename="VERSION_1"
ordinary="true"
comment="Development version 1"/>
Remarks
This task uses the cleartool mklabeltype
command to create a ClearCase label object.
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.ClearCaseMkLbType.Comment or
NAnt.Contrib.Tasks.ClearCase.ClearCaseMkLbType.CommentFile may be used.
|
CommentFile | FileInfo |
Specify a file containing a comment. Only one of
NAnt.Contrib.Tasks.ClearCase.ClearCaseMkLbType.Comment
or NAnt.Contrib.Tasks.ClearCase.ClearCaseMkLbType.CommentFile may be used.
|
Global | bool |
Creates a label type that is global to the VOB or to VOB's that use this VOB.
Either global or ordinary can be specified, not both.
The default is
false .
|
Ordinary | bool |
Creates a label type that can be used only in the current VOB.
Either global or ordinary can be specified, not both.
Although
false by default, if global is also false or not specified ordinary is the default behaviour.
|
PBranch | bool |
If
true the label type is allowed to be used once per branch in a given element's version tree.
The default is false .
|
ProgramArguments | string |
Overrides the base class.
Inherited from ClearCaseBase
|
Replace | bool |
If
true , allow an existing label definition to be replaced.
The default is false .
|
Shared | bool |
Sets the way mastership is checked by ClearCase. See ClearCase documentation for details.
The default is
false .
|
Typename | string |
Name of the label type to create.
|
Vob | string |
Name of the VOB. Must be a valid path to somewhere on a VOB.
|
Methods
Name | Value | Summary |
---|---|---|
ExecuteTask |
void |
Execute the perforce command assembled by subclasses.
Inherited from ClearCaseBase
|
See Also
- NAnt.Contrib.Tasks.ClearCase.ClearCaseMkLabel