<cvspass>

An alternative to using the login command via the <cvs> task is to add entries to a .cvspass file using <cvspass>. Details of the <cvspass> attributes are shown in Table 4.26.

Table 4.26. Table of <cvspass> Attributes
Attributes Description
Required
cvsroot The cvs repository to add the entry for.
password The password to be added to the password file.
Optional
passfile The name of the password file to add the entry to. Defaults to ~/.cvspass.

Example

This example creates and modifies a .cvspass file located in the user home directory with the cvsroot :pserver:andy@antbook.sams.com:/home/src and the password pass.

<cvspass cvsroot=":pserver:andy@antbook.sams.com:/home/src" password="pass"/> 

Get Ant Developer’s Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.