<p4reopen>

[This is preliminary documentation and subject to change.]

Move opened files between changelists or change the files’ type.

This task has two different but related uses: Moving opened files between changelists (default or named). Changing the type of an opened file.

Parameters

AttributeTypeDescriptionRequired
viewstring The client, branch or label view to operate upon. True
changeliststring Changelist to place the reopened files into. False
typestring File Type settings. False
clientstring The p4 client spec to use. The default is the current client. False
failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
portstring The p4 server and port to connect to. The default is "perforce:1666". False
scriptbool Prepends a descriptive field (for example, text:, info:, error:, exit:) to each line of output produced by a Perforce command. This is most often used when scripting. The default is false. False
timeoutint The maximum amount of time the application is allowed to execute, expressed in milliseconds. Defaults to no time-out. False
unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
userstring The p4 username. The default is the current user. False
verbosebool Determines whether the task should report detailed build log messages. The default is false. False

Framework-configurable parameters

AttributeTypeDescriptionRequired
useruntimeenginebool Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. False

Nested Elements:

<arg>

The command-line arguments for the external program.

Contains a collection of Argument elements.

</arg>

Examples

Requirements

Assembly: NAnt.Contrib.Tasks (0.85.1793.0)