Package org.apache.tools.ant.taskdefs
Class CVSPass
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.CVSPass
- All Implemented Interfaces:
- Cloneable
Adds an new entry to a CVS password file.
- Since:
- Ant 1.4
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal 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.Methods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
CVSPasspublic CVSPass()Create a CVS task using the default cvspass file location.
 
- 
- 
Method Details- 
executeDoes the work.- Overrides:
- executein class- Task
- Throws:
- BuildException- if something goes wrong with the build
 
- 
setCvsrootThe CVS repository to add an entry for.- Parameters:
- cvsRoot- the CVS repository
 
- 
setPassfilePassword file to add the entry to.- Parameters:
- passFile- the password file.
 
- 
setPasswordPassword to be added to the password file.- Parameters:
- password- the password.
 
 
-