AbstractCvsTask.

UseSharpCvsLib Property

Summary

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.

Syntax

[TaskAttribute("usesharpcvslib", Required = false)]
public virtual bool UseSharpCvsLib { get; set; }

Examples

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.

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.

Value

Type Description
bool