AbstractCvsTask.

Root Property

Summary

The cvs root variable has the following components:

[protocol]:[username]@[servername]:[server path]
  • protocol: ext, pserver, ssh (sharpcvslib); if you are not using sharpcvslib consult your cvs documentation.
  • username: [username]
  • servername: cvs.sourceforge.net
  • server path: /cvsroot/nant

Syntax

[TaskAttribute("cvsroot", Required = false)]
[StringValidator(AllowEmpty = false)]
public override string Root { get; set; }

Examples

NAnt anonymous cvsroot:

:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
StringValidatorAttribute Used to indicate whether a string property should allow an empty string value or not.

Value

Type Description
string