org.apache.tools.ant.taskdefs

Class CVSPass

public class CVSPass extends Task

Adds an new entry to a CVS password file.

Since: Ant 1.4

UNKNOWN: category="scm"

Constructor Summary
CVSPass()
Create a CVS task using the default cvspass file location.
Method Summary
voidexecute()
Does the work.
voidsetCvsroot(String cvsRoot)
The CVS repository to add an entry for.
voidsetPassfile(File passFile)
Password file to add the entry to.
voidsetPassword(String password)
Password to be added to the password file.

Constructor Detail

CVSPass

public CVSPass()
Create a CVS task using the default cvspass file location.

Method Detail

execute

public final void execute()
Does the work.

Throws: BuildException if something goes wrong with the build

setCvsroot

public void setCvsroot(String cvsRoot)
The CVS repository to add an entry for.

Parameters: cvsRoot the CVS repository

setPassfile

public void setPassfile(File passFile)
Password file to add the entry to.

Parameters: passFile the password file.

setPassword

public void setPassword(String password)
Password to be added to the password file.

Parameters: password the password.

Copyright