<pvcsaddfiles>

[This is preliminary documentation and subject to change.]

Adds files to a PVCS repository.

This task uses the addfiles PCLI command to add files to a PVCS repository.

Parameters

Attribute Type Description Required
archivedescription string Gets or sets the archive description for versioned files. True
copymode PVCSCopyMode Gets or sets the copy mode for the operation. False
deleteworkfiles bool Gets or sets a value indicating whether workfiles will be deleted after adding them to PVCS. False
description string Gets or sets the description for versioned files. False
lock bool Gets or sets a value indicating whether versioned files should be locked after being added to PVCS. False
promotiongroup string Gets or sets the promotion group to which added files will be assigned. Setting this attribute to an empty string indicates the versioned files will not be assigned to any promotion group. False
suppressaddifexists bool Gets or sets a value indicating whether workfiles shouldn't be added if they already exist in the PVCS repository. False
versionlabel string Gets or sets the version label to assign to the added versioned files. False
projectdatabase string Gets or sets the project database to utilize during the operation. True
failonerror bool Determines if task failure stops the build, or is just reported. The default is true. False
if bool If true then the task will be executed; otherwise, skipped. The default is true. False
includesubprojects bool Gets or sets a value indicating whether the operation should include subprojects. False
password string Gets or sets the password to use when connecting to the project database. False
projectpath string Gets or sets the project path to utilize during the operation. False
pvcsbin string Gets or sets the location of the PVCS binary command-line tools. False
timeout int The maximum amount of time the application is allowed to execute, expressed in milliseconds. Defaults to no time-out. False
unless bool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
userid string Gets or sets the user ID to use when connecting to the project database. False
verbose bool Determines whether the task should report detailed build log messages. The default is false. False
workspace string Gets or sets the workspace to use when connecting to the project database. False

Framework-configurable parameters

Attribute Type Description Required
useruntimeengine bool Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. False

Nested Elements:

<entities>

Gets or sets the entities involved in the operation.

</entities>

<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)