public class CvsAdapter
extends java.lang.Object
Implements an adapter for accessing cvs.
Constructor and Description |
---|
CvsAdapter(Project antProject,
boolean quiet,
boolean reallyquiet)
Initializes this CVS adapter.
|
Modifier and Type | Method and Description |
---|---|
void |
checkoutProject(Workspace workspace,
TeamProjectDescription projectDescription,
boolean deleteExisting)
Runs a CVS checkout operation on a given project.
|
void |
exportProject(Workspace workspace,
TeamProjectDescription projectDescription,
boolean deleteExisting)
Runs a CVS export operation on a given project.
|
void |
updateProject(Workspace workspace,
TeamProjectDescription projectDescription)
Runs a CVS update operation on a given project.
|
public CvsAdapter(Project antProject, boolean quiet, boolean reallyquiet)
Initializes this CVS adapter.
antProject
- the ant project in which the cvs tasks will be executed.quiet
- indicates if the cvs commands should be executed quiet.reallyquiet
- indicates if the cvs commands should be executed really quiet.public void checkoutProject(Workspace workspace, TeamProjectDescription projectDescription, boolean deleteExisting) throws CvsException
Runs a CVS checkout operation on a given project.
workspace
- the current workspace in which the project will be checked out.projectDescription
- the description of the shared project.deleteExisting
- indicates if existing projects should be deleted.CvsException
- The CVS operation failed for some reason.public void updateProject(Workspace workspace, TeamProjectDescription projectDescription) throws CvsException
Runs a CVS update operation on a given project.
workspace
- the current workspace in which the project will be updated.projectDescription
- the description of the shared project.CvsException
- The CVS operation failed for some reason.public void exportProject(Workspace workspace, TeamProjectDescription projectDescription, boolean deleteExisting) throws CvsException
Runs a CVS export operation on a given project.
workspace
- the current workspace in which the project will be exported.projectDescription
- the description of the shared project.deleteExisting
- indicates if existing projects should be deleted.CvsException