ClearCaseCheckIn Class

Summary

Checks files into 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["ClearCaseCheckIn"] class Type type-node

Syntax

[TaskName("cccheckin")]
public class ClearCaseCheckIn : ClearCaseBase

Examples

Performs a ClearCase checkin on the file c:/views/viewdir/afile. All warning messages are suppressed, and the element is checked in even if identical to the original. Comment text from the file acomment.txt is added to ClearCase as a comment. All warning messages are suppressed. The file is checked in even if it is identical to the original.

<cccheckin viewpath="c:/views/viewdir/afile"
    commentfile="acomment.txt"
    nowarn="true"
    identical="true"/>

Remarks

This task uses the cleartool checkin command to check in ClearCase elements.

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.ClearCaseCheckIn.Comment or NAnt.Contrib.Tasks.ClearCase.ClearCaseCheckIn.CommentFile may be used.
CommentFile FileInfo
Specify a file containing a comment. Only one of NAnt.Contrib.Tasks.ClearCase.ClearCaseCheckIn.Comment or NAnt.Contrib.Tasks.ClearCase.ClearCaseCheckIn.CommentFile may be used.
Identical bool
If true, files may be checked in even if identical to the original. Default is false.
KeepCopy bool
true to keep a view-private copy of the file with a .keep extension. Default is true.
NoWarn bool
true if warning messages should be suppressed. The default is false.
PreserveTime bool
If true, the modification time will be preserved. Default is false.
ProgramArguments string
Overrides the base class.
Inherited from ClearCaseBase
ViewPath FileInfo
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.ClearCaseCheckOut
  • NAnt.Contrib.Tasks.ClearCase.ClearCaseUnCheckOut