Skip to Main Content
Ant: The Definitive Guide, 2nd Edition
book

Ant: The Definitive Guide, 2nd Edition

by Steve Holzner
April 2005
Intermediate to advanced content levelIntermediate to advanced
336 pages
7h 20m
English
O'Reilly Media, Inc.
Content preview from Ant: The Definitive Guide, 2nd Edition

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

append

Specifies whether you want to append output when redirecting text to a file.

No

false

command

Specifies the CVS command you want to execute.

No

"checkout"

compression

The same as compressionlevel="3".

No

false

compressionlevel

Specifies the compression level you want to use, via a number between 1 and 9. Any other value sets compression="false".

No

false

cvsRoot

Specifies the CVSROOT variable.

No

 

cvsRsh

Specifies the CVS_RSH variable.

No

 

date

Specifies that you want to use the most recent revision, as long as it is no later than the given date.

No

 

dest

Specifies the directory where you want checked-out files to be placed.

No

The project's basedir.

error

Specifies the file where you want error messages stored.

No

Sends errors to the Ant Log as MSG_WARN.

failonerror

Stops the build if the task encounters an error.

No

false

noexec

Specifies that CVS actions should report only, without changing any files.

No

false

output

Specifies the file to which standard output should be directed.

No

Sends output to the Ant Log as MSG_INFO.

package

Specifies the module you want to check out.

No

 

passfile

Specifies a password file you want to have the task read passwords ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ant: The Definitive Guide

Ant: The Definitive Guide

Eric M. Burke, Jesse Tilly
Tomcat: The Definitive Guide, 2nd Edition

Tomcat: The Definitive Guide, 2nd Edition

Jason Brittain, Ian F. Darwin
Ant in Action

Ant in Action

Erik Hatcher, Steve Loughran
CMake Cookbook

CMake Cookbook

Radovan Bast, Roberto Di Remigio

Publisher Resources

ISBN: 0596006098Supplemental ContentErrata Page