CvsVersion

Description

This task allows to retrieve a CVS client and server version

Parameters

Attribute Description Required
Attributes from parent Cvs task which are meaningful here
cvsRoot the CVSROOT variable. No
cvsRsh the CVS_RSH variable. No
dest directory containing the checked out version of the project No, default is project's basedir.
package the package/module to check out. No
port Port used by CVS to communicate with the server. No, default port 2401.
passfile Password file to read passwords from. No, default file ~/.cvspass.
failonerror Stop the build process if the command exits with a return code other than 0. Defaults to false No
Specific attributes
cvsclientproperty Name of a property where the cvsclient version should be stored No
cvsserverproperty Name of a property where the cvs server version should be stored No

Examples

  <cvsversion cvsRoot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic"
       passfile="/home/myself/.cvspass"
       cvsserverproperty="apachecvsversion"
       cvsclientproperty="localcvsversion"
  />

finds out the cvs client and server versions and stores the versions in the properties called apachecvsversion and localcvsversion


Copyright © 2004 Apache Software Foundation. All rights Reserved.