NAnt SDK Documentation - v0.92

AbstractCvsTask.UseSharpCvsLib Property

true if the SharpCvsLib binaries that come bundled with NAnt should be used to perform the cvs commands, false otherwise.

You may also specify an override value for all cvs tasks instead of specifying a value for each. To do this set the property sourcecontrol.usesharpcvslib to false.

If you choose not to use SharpCvsLib to checkout from cvs you will need to include a cvs.exe binary in your path.
[Visual Basic]
<TaskAttribute(Name:="usesharpcvslib", Required:=False, ExpandProperties:=True, ProcessXml:=True)>
Overridable Public Property UseSharpCvsLib As Boolean
[C#]
[TaskAttribute(Name="usesharpcvslib", Required=False, ExpandProperties=True, ProcessXml=True)]
public virtual bool UseSharpCvsLib {get; set;}

Example

To use a cvs client in your path instead of sharpcvslib specify the property: >property name="sourcecontrol.usesharpcvslib" value="false"< The default settings is to use sharpcvslib and the setting closest to the task execution is used to determine which value is used to execute the process. For instance if the attribute usesharpcvslib was set to false and the global property was set to true, the usesharpcvslib is closes to the point of execution and would be used and is false. Therefore the sharpcvslib binary would NOT be used.

See Also

AbstractCvsTask Class | NAnt.SourceControl.Tasks Namespace