Working with the Server
The cvs
task lets you
interact with the CVS server after you've logged in. The attributes of
this task appear in Table
6-4; to use this task, the cvs
command must work on the command line (ie., the cvs
binary must be in your path).
Table 6-4. The cvs attributes
Attribute | Description | Required | Default |
---|---|---|---|
| Specifies whether you want to append output when redirecting text to a file. | No | |
| Specifies the CVS command you want to execute. | No | " |
| The same as | No | |
| Specifies the compression level you want to use,
via a number between 1 and 9. Any other value sets | No | |
| Specifies the | No | |
| Specifies the | No | |
| Specifies that you want to use the most recent revision, as long as it is no later than the given date. | No | |
| Specifies the directory where you want checked-out files to be placed. | No | The project's basedir. |
| Specifies the file where you want error messages stored. | No | Sends errors to the Ant Log as MSG_WARN. |
| Stops the build if the task encounters an error. | No | |
| Specifies that CVS actions should report only, without changing any files. | No | |
| Specifies the file to which standard output should be directed. | No | Sends output to the Ant Log as MSG_INFO. |
| Specifies the module you want to check out. | No | |
| Specifies a password file you want to have the task read passwords ... |
Get Ant: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.