From fdb394b4a72abc5a52db4e9c7dbe9dd2f785ee6f Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 8 Nov 2000 17:14:17 +0000 Subject: [PATCH] Updated documentation for cvs task. Submitted by: Julian M. Savage git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268162 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 2 +- docs/index.html | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/WHATSNEW b/WHATSNEW index d7e758105..8fe4fc7eb 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -6,7 +6,7 @@ Other changes: * A GUI Frontend: Antidote -* New tasks: propertyfile, depend, antlr +* New tasks: propertyfile, depend, antlr, telnet * Added output attribute to . diff --git a/docs/index.html b/docs/index.html index 214d5c136..14d4f7ae4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1434,7 +1434,7 @@ does not exist.

Cvs

Description

Handles packages/modules retrieved from a -CVS repository.

+CVS repository.

When doing automated builds, the get task should be preferred over the checkout command, because of speed.

Parameters

@@ -1505,6 +1505,11 @@ repository pointed to by the cvsRoot attribute, and stores the files in "${
  <cvs dest="${ws.dir}" command="update" />

updates the package/module that has previously been checked out into "${ws.dir}".

+
  <cvs command="-q diff -u -N" output="patch.txt"/>
+

silently (-q) creates a file called patch.txt which contains a unified (-u) diff which includes new files added via "cvs add" (-N) and can be used as input to patch.

+
  <cvs command="update -A -d"/>
+

Updates from the head of repository ignoring sticky bits (-A) and creating any new directories as necessary (-d).

+

Note: the text of the command is passed to cvs "as-is" so any cvs options should appear before the command, and any command options should appear after the command as in the diff example above. See the cvs manual for details, specifically the Guide to CVS commands


Delete

Description