Parameters
Attribute | Type | Description | Required |
---|---|---|---|
date | datetime |
Specify the revision date to update to. The version of the file that
existed at the date specified is retrieved.
|
False |
force-head | bool |
Indicates whether the head revision should be used if the revision specified by
NAnt.SourceControl.Tasks.ExportTask.Revision or the NAnt.SourceControl.Tasks.ExportTask.Date tags are not
found. The default is false .
|
False |
no-shortening | bool |
No shortening. Do not shorten module paths if -d specified.
|
False |
overridedir | string |
Specify a directory name to replace the module name. Valid names
include any valid filename, excluding path information.
|
False |
recursive | bool |
If a directory is specified indicates whether sub-directories should
also be processed.
|
False |
revision | string |
Specify the revision to update the file to. This corresponds to the "sticky-tag"
of the file.
|
False |
commandline | string |
Command-line arguments for the program. The command line arguments are used to specify
any cvs command options that are not available as attributes. These are appended
after the command itself and are additive to whatever attributes are currently specified.
|
False |
compressionlevel | int |
Compression level to use for all net traffic. This should be a value from 1-9.
|
False |
cvsfullpath | file |
The full path to the cvs binary used. The cvs tasks will attempt to
"guess" the location of your cvs binary based on your path. If the
task is unable to resolve the location, or resolves it incorrectly
this can be used to manually specify the path.
|
False |
destination | directory |
Destination directory for the local sandbox. If destination is not specified
then the current directory is used.
|
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 |
module | string |
The module to perform an operation on.
|
False |
passfile | file |
The full path to the cached password file. If not specified then the
environment variables are used to try and locate the file.
|
False |
password | string |
The password for logging in to the repository.
Obsolete. Use
|
False |
quiet | bool |
Indicates if the output from the cvs command should be suppressed.
The default is
false .
|
False |
readonly | bool |
true if the sandbox files should be checked out in
read only mode. The default is false .
|
False |
readwrite | bool |
true if the sandbox files should be checked out in
read/write mode. The default is true .
|
False |
reallyquiet | bool |
Indicates if the output from the cvs command should be stopped.
The default is
false .
|
False |
cvsroot | string |
The cvs root variable has the following components:
|
False |
cvsrsh | file |
The executable to use for ssh communication.
|
False |
ssh | file |
The executable to use for ssh communication.
|
False |
timeout | int |
The maximum amount of time the application is allowed to execute,
expressed in milliseconds. Defaults to no time-out.
|
False |
unless | bool |
Opposite of
NAnt.Core.Task.IfDefined . If false
then the task will be executed; otherwise, skipped. The default is
false .
|
False |
usesharpcvslib | bool |
You may also specify an override value for all cvs tasks instead
of specifying a value for each. To do this set the property
|
False |
verbose | bool |
Determines whether the task should report detailed build log messages.
The default is
false .
|
False |
Framework-configurable parameters
Nested elements
<arg>
The command-line arguments for the external program.
When passed to an external application, the argument will be quoted
when appropriate. This does not apply to the NAnt.Core.Types.Argument.Line
parameter, which is always passed as is.
Parameters
Nested elements
Examples
A single command-line argument containing a space character.
<arg value="-l -a" />
Two separate command-line arguments.
<arg line="-l -a" />
A single command-line argument with the value \dir;\dir2;\dir3
on DOS-based systems and /dir:/dir2:/dir3
on Unix-like systems.
<arg path="/dir;/dir2:\dir3" />
<arg>
<fileset>
Used to specify the version control system (VCS) files that are going to be acted on.
</fileset>
Examples
Export the most recent NAnt sources from cvs.
<cvs-export
destination="c:\src\nant\"
cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant"
module="nant" />
Export NAnt revision named your_favorite_revision_here
to the
folder c:\src\nant\replacement_for_module_directory_name
.
<cvs-export
destination="c:\src\nant\"
cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant"
module="nant"
revision="your_favorite_revision_here"
overridedir="replacement_for_module_directory_name"
recursive="false">
<fileset>
<include name="nant/bin/NAnt.exe"/>
<include name="nant/bin/NAnt.exe.config"/>
</fileset>
</cvs-export>
Requirements
- Assembly
- NAnt
.SourceControl .dll - Namespace
-
NAnt
.SourceControl .Tasks