# CVS instructions for all modules

This instructions are general, check the module documentation if you need concrete instructions.

modulename can be for example:

- acegisecurity (this will check out all modules)
- acegisecurity/core/
- acegisecurity/adapters/cas

## Web Access

http://cvs.sourceforge.net/viewcvs.py/acegisecurity

## Anonymous Access with Maven

This project's CVS repository can be checked out through anonymous (pserver) CVS with the following instruction on a single line.

    maven scm:checkout-project
        -Dmaven.scm.method=cvs
        -Dmaven.scm.cvs.module=modulename
        -Dmaven.scm.cvs.root=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
        -Dmaven.scm.checkout.dir=acegisecurity

## Anonymous CVS Access

This project's CVS repository can be checked out through anonymous (pserver) CVS with the following instruction set. When prompted for a password for anonymous, simply press the Enter key.

cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity login
cvs -z3 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity co modulename

Updates from within the module's directory do not need the -d parameter.

## Nightly Snapshots

If you'd prefer not to use CVS directly (eg you're stuck behind a corporate firewall), please see our downloads page for nightly snapshots.

## Developer Access with Maven

Only project developers can access the CVS tree via this method. Substitute username with the proper value.

    maven scm:checkout-project
        -Dmaven.scm.method=cvs
        -Dmaven.scm.cvs.module=modulename
        -Dmaven.scm.cvs.root=:ext:username@cvs.sourceforge.net:/cvsroot/acegisecurity
        -Dmaven.scm.checkout.dir=acegisecurity
        -Dmaven.scm.cvs.rsh=ssh

Remember to replace 'username' with your actual username on cvs.sourceforge.net.
Also change `ssh` in `maven.scm.cvs.rsh=ssh` to the name of your ssh executable.

## Developer CVS Access via SSH

Only project developers can access the CVS tree via this method. SSH must be installed on your client machine. Substitute username with the proper value. Enter your site password when prompted.

export CVS_RSH=ssh
cvs -z3 -d :ext:username@cvs.sourceforge.net:/cvsroot/acegisecurity co modulename

Remember to replace 'username' with your actual username on cvs.sourceforge.net.

## CVS Access behind a firewall

For those developers who are stuck behind a corporate firewall, CVSGrab can use the viewcvs web interface to checkout the source code.