Skip to Content

<cvsGetProjectSet>

Scope: All Project Types

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

The cvsGetProjectSet task provides the following arguments:

Argument Description Required
workspaceDirectory Absolute path of the workspace directory Either 'workspaceDirectory' or 'workspaceId' has to be specified
workspaceId The identifier of a defined workspace (see <workspaceDefinition>) Either 'workspaceDirectory' or 'workspaceId' has to be specified
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. You can use one of the following values:
  • 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 CVS directories, so the checked out projects have no connection to CVS anymore (cvs export)
yes

Example usage

The following example shows how to checkout projects defined in a team project set:

<cvsGetProjectSet cvsUser="myCvsUserId"
                  cvsPwd="myCvsPassword"
                  command="checkout"
                  projectSet="myProjectSet.psf"
                  workspace="${workspace.dir}" />