Checks out a CVS module to the required directory.
For a list of all members of this type, see CheckoutTask Members.
System.Object
NAnt.Core.Element
NAnt.Core.Task
NAnt.Core.Tasks.ExternalProgramBase
NAnt.SourceControl.Tasks.AbstractSourceControlTask
NAnt.SourceControl.Tasks.AbstractCvsTask
NAnt.SourceControl.Tasks.CheckoutTask
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Checkout NAnt.
<cvs-checkout destination="c:\src\nant\" cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" module="nant" />
Checkout NAnt revision named 0_85
to the folder c:\src\nant\v0.85
.
<cvs-checkout destination="c:\src\nant" cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" module="nant" revision="0_85" overridedir="v0.85" />
So the nant module tagged with revision 0_85 will be checked out in the folder v0.85 under the working/ destination directory.
This could be used to work on different branches of a repository at the same time.
Checkout NAnt with specified revision date to the folder c:\src\nant\2003_08_16
.
<cvs-checkout destination="c:\src\nant\" cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant" module="nant" date="2003/08/16" overridedir="2003_08_16" />
Namespace: NAnt.SourceControl.Tasks
Assembly: NAnt.SourceControlTasks (in NAnt.SourceControlTasks.dll)
CheckoutTask Members | NAnt.SourceControl.Tasks Namespace