Summary
Assigns a promotion group to versioned files.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .PVCS - Base Types
-
- ExternalProgramBase
- PVCSTask
- P
V C S Project Database Task - PVCSSingleEntityTask
graph BT
Type-->Base0["PVCSSingleEntityTask"]
click Base0 "/api/NAnt.Contrib.Tasks.PVCS/PVCSSingleEntityTask"
Base0-->Base1["PVCSProjectDatabaseTask"]
click Base1 "/api/NAnt.Contrib.Tasks.PVCS/PVCSProjectDatabaseTask"
Base1-->Base2["PVCSTask"]
click Base2 "/api/NAnt.Contrib.Tasks.PVCS/PVCSTask"
Base2-->Base3["ExternalProgramBase"]
Type["PVCSAssignGroupTask"]
class Type type-node
Syntax
[TaskName("pvcsassigngroup")]
public sealed class PVCSAssignGroupTask : PVCSSingleEntityTask
Examples
Assigns the SYSTEST
promotion group to all entities with the DEV
promotion group in the
folder
project.
<pvcsassigngroup projectdatabase="${project-database}" entity="/folder" assignpromotiongroup="SYSTEST" promotiongroup="DEV"/>
Assigns the SYSTEST
promotion group to revision 1.2
of all entities.
<pvcsassigngroup projectdatabase="${project-database}" entity="/" includesubprojects="true" assignpromotiongroup="SYSTEST" revision="1.2"/>
Remarks
This task uses the assigngroup
PCLI command to assign the group to versioned files.
Attributes
Type | Description |
---|---|
TaskName |
Constructors
Name | Summary |
---|---|
PVCSAssignGroupTask |
Constructs and initializes an instance of PVCSAssignGroupTask .
|
Properties
Name | Value | Summary |
---|---|---|
AssignPromotionGroup | string |
Gets or sets the promotion group to assign to the versioned files.
|
Entity | string |
Gets or sets the entity involved in the operation.
Inherited from PVCSSingleEntityTask
|
ExeName | string |
Gets the executable name for the command-line tool to run for the PVCS task.
Inherited from PVCSTask
|
IncludeSubprojects | bool |
Gets or sets a value indicating whether the operation should include subprojects.
Inherited from P
|
Password | string |
Gets or sets the password to use when connecting to the project database.
Inherited from P
|
PCLICommandName | string |
Gets the PCLI command name that corresponds to the operation the task performs.
Inherited from PVCSTask
|
ProgramArguments | string |
Gets the program arguments with which to run the wrapped PVCS process.
Inherited from PVCSTask
|
ProjectDatabase | string |
Gets or sets the project database to utilize during the operation.
Inherited from P
|
ProjectPath | string |
Gets or sets the project path to utilize during the operation.
Inherited from P
|
PromotionGroup | string |
Gets or sets the promotion group for the versioned files to be assigned the promotion group.
|
PVCSBin | string |
Gets or sets the location of the PVCS binary command-line tools.
Inherited from PVCSTask
|
Revision | double |
Gets or sets the revision for the versioned files to be assigned the promotion group.
|
Supports |
bool |
Gets a value indicating whether the specific task implementation supports the
includesubprojects
task attribute. If not, an exception will be thrown if an attempt is made to set the attribute.
Inherited from P
|
UserId | string |
Gets or sets the user ID to use when connecting to the project database.
Inherited from P
|
VersionLabel | string |
Gets or sets the version label for the versioned files to be assigned the promotion group.
|
Workspace | string |
Gets or sets the workspace to use when connecting to the project database.
Inherited from P
|
Methods
Name | Value | Summary |
---|---|---|
Add |
void | |
ExecuteTask |
void |
Executes the task.
Inherited from PVCSTask
|
PrepareProcess |
void |
Prepares the process wrapped by this task for execution.
Inherited from PVCSTask
|
StartProcess |
Process |
Starts the process that is wrapped by this PVCS task.
Inherited from PVCSTask
|