<cvsGetProjectSet>
Description
Use the cvsGetProjectSet task to automatically check
out all projects defined in a team project set.
The cvsGetProjectSet requires the name of a Team
Project Set file and a destination directory into which the
projects will be checked out. Furthermore you need to specify a
username and a password for CVS. Ant4eclipse then checks out all
projects listed in the file in the version / from the branch that
is mentioned in the file.
Arguments
| Argument | Description | Required |
|---|---|---|
| workspace | Path to the workspace | yes |
| projectset | Project Set File that defines the projects to be checked out | yes |
| cvsUser | User for CVS-connection | yes |
| cvsPwd | Password for CVS-connection | yes |
| command | Determine whether the project set should be checked out, updated or exported | yes |
The cvsGetProjectSet-Tasks takes a
command argument that detemines how a project will be
received from the CVS repository:
-
checkout: Checks out the complete projects from CVS (
cvs co) -
update: Updates the projects: receive/remove changed files only (
cvs update) -
export: Like checkout, but removes the
CVSdirectories, so the checked out projects have no connection to CVS anymore (cvs export)
Examples
The following example shows how to checkout projects defined in a team project set.