Root Property

NAnt SDK Documentation - v0.92 |

# AbstractCvsTask.Root Property

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

[Visual Basic]
<TaskAttribute(Name:="cvsroot", Required:=False, ExpandProperties:=True, ProcessXml:=True), _ StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null")>
Overrides Public Property Root As String
[C#]
[TaskAttribute(Name="cvsroot", Required=False, ExpandProperties=True, ProcessXml=True)]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
public override string Root {get; set;}

#### Example

NAnt anonymous cvsroot:

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

#### See Also

AbstractCvsTask Class | NAnt.SourceControl.Tasks Namespace