ClearCaseUpdate Class

Summary

Updates a ClearCase view.
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["ClearCaseUpdate"] class Type type-node

Syntax

[TaskName("ccupdate")]
public class ClearCaseUpdate : ClearCaseBase

Examples

Performs a ClearCase update on the snapshot view directory c:/views/viewdir. A graphical dialog will be displayed. The output will be logged to log.log and it will overwrite any hijacked files. The modified time will be set to the current time.

<ccupdate viewpath="c:/views/viewdir"
    graphical="false"
    log="log.log"
    overwrite="true"
    currenttime="true"
    rename="false"/>

Remarks

This task uses the cleartool update command to update a ClearCase view.

Attributes

Type Description
TaskName

Properties

Name Value Summary
CommandSpecificArguments string
This is an override used by the base class to get command specific args.
CurrentTime bool
Specifies that modification time should be written as the current time. Only one of NAnt.Contrib.Tasks.ClearCase.ClearCaseUpdate.CurrentTime or NAnt.Contrib.Tasks.ClearCase.ClearCaseUpdate.PreserveTime can be specified. The default is false.
Graphical bool
Displays a graphical dialog during the update. The default is false.
LogFile FileInfo
Specifies a log file for ClearCase to write to.
Overwrite bool
If true, hijacked files will be overwritten. The default is false.
PreserveTime bool
Specifies that modification time should preserved from the VOB time. Only one of NAnt.Contrib.Tasks.ClearCase.ClearCaseUpdate.CurrentTime or NAnt.Contrib.Tasks.ClearCase.ClearCaseUpdate.PreserveTime can be specified. The default is false.
ProgramArguments string
Overrides the base class.
Inherited from ClearCaseBase
Rename bool
If true, hijacked files will be renamed with a .keep extension. The default is false.
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