ClearCaseRmType Class

Summary

Removes elements from a ClearCase VOB.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks.ClearCase
Base Types
graph BT Type-->Base0["ClearCaseBase"] click Base0 "/api/NAnt.Contrib.Tasks.ClearCase/ClearCaseBase" Base0-->Base1["Core.Tasks.ExternalProgramBase"] Type["ClearCaseRmType"] class Type type-node

Syntax

[TaskName("ccrmtype")]
public class ClearCaseRmType : ClearCaseBase

Examples

Performs a ClearCase rmtype to remove a NAnt.Contrib.Types.ClearCase.TypeKind.Label type named VERSION_1. Comment text from the file acomment.txt is added as a comment. All instances of the type are removed, including the type object itself.

<ccrmtype typekind="Label"
    typename="VERSION_1"
    commentfile="acomment.txt"
    removeall="true" />

Remarks

This task uses the cleartool rmtype command to remove a ClearCase object.

Attributes

Type Description
TaskName

Properties

Name Value Summary
CommandSpecificArguments 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.ClearCaseRmType.Comment or NAnt.Contrib.Tasks.ClearCase.ClearCaseRmType.CommentFile may be used.
CommentFile FileInfo
Specify a file containing a comment. Only one of NAnt.Contrib.Tasks.ClearCase.ClearCaseRmType.Comment or NAnt.Contrib.Tasks.ClearCase.ClearCaseRmType.CommentFile may be used.
Ignore bool
Used with NAnt.Contrib.Types.ClearCase.TypeKind.Trigger types only. Forces removal of NAnt.Contrib.Types.ClearCase.TypeKind.Trigger type even if a pre-operation trigger would prevent its removal. The default is false.
ProgramArguments string
Overrides the base class.
Inherited from ClearCaseBase
RemoveAll bool
Removes all instances of a type and the type object itself. The default is false.
TypeKind TypeKind
The kind of type to remove.
TypeName string
The name of the object to remove.

Methods

Name Value Summary
ExecuteTask() void
Execute the perforce command assembled by subclasses.
Inherited from ClearCaseBase