Executes the cvs login command which appends or updates an entry to the
specified .cvspass file.
Parameters
Attribute | Type | Description | Required |
---|---|---|---|
password | string |
Password to append or update to the .cvspass file.
|
True |
passfile | file |
The full path to the .cvspass file. The default is ~/.cvspass.
|
False |
cvsroot | string |
The repository root string.
|
False |
failonerror | bool |
Determines if task failure stops the build, or is just reported.
The default is
true .
|
False |
if | bool |
If
true then the task will be executed; otherwise,
skipped. The default is true .
|
False |
unless | bool |
Opposite of
NAnt.Core.Task.IfDefined . If false
then the task will be executed; otherwise, skipped. The default is
false .
|
False |
verbose | bool |
Determines whether the task should report detailed build log messages.
The default is
false .
|
False |
Examples
Update .cvspass file to include the NAnt anonymous login.
<cvs-pass cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant"
password="anonymous"
passfile="C:\.cvspass" />
Requirements
- Assembly
- NAnt
.SourceControl .dll - Namespace
-
NAnt
.SourceControl .Tasks