ChangesTask Class

Summary

Generates an XML file containing the differences between the sandbox and the project in the MKS database.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks.Mks
Base Types
graph BT Type-->Base0["BaseTask"] click Base0 "/api/NAnt.Contrib.Tasks.Mks/BaseTask" Base0-->Base1["Task"] Type["ChangesTask"] class Type type-node

Syntax

[TaskName("mkschanges")]
public sealed class ChangesTask : BaseTask

Examples

Get changes to a project in an MKS database.

<mkschanges
          username="myusername"
          password="mypassword"
          host="servername"
          port="123"
          sandbox="mysandbox.pj"
          output="mychanges.xml"
        />

Attributes

Type Description
TaskName

Properties

Name Value Summary
Host string
The name of the host MKS server to connect to
Inherited from BaseTask
OutputFile FileInfo
The file where the output will be stored in XML format.
Password string
The password to use to login to the MKS database.
Inherited from BaseTask
Port string
The port number on which the host server is accepting requests
Inherited from BaseTask
Sandbox string
The project to retrieve the changes for.
UserName string
The name of the user needed to access the MKS database.
Inherited from BaseTask

Methods

Name Value Summary
ExecuteTask() void
GetChanges() ArrayList
MKSExecute(string) string
Inherited from BaseTask
Open() void
Opens the MKS database and sets the reference to the specified item and version.
Inherited from BaseTask