From b9421dc80af485591a9c50cc8921f912e0def11e Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:05:40 -0700 Subject: Removing sources to replace with download links instead. Change-Id: Ie28789a725051aec0d1b04dd291b7690a7898668 Signed-off-by: Ashlee Young --- .../src/ant/apache-ant-1.9.6/manual/Tasks/cvs.html | 230 --------------------- 1 file changed, 230 deletions(-) delete mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/cvs.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/cvs.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/cvs.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/cvs.html deleted file mode 100644 index e941ed6d..00000000 --- a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/cvs.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - - CVS Task - - - - -

Cvs

-

Description

-

Handles packages/modules retrieved from a -CVS repository.

-

Important: This task needs "cvs" on the path. If it isn't, you will get -an error (such as error 2 on windows). If <cvs> doesn't work, try to execute cvs.exe -from the command line in the target directory in which you are working. -Also note that this task assumes that the cvs executable is compatible -with the Unix version from cvshome.org, this is not completely true -for certain other cvs clients - like CVSNT for example - and some -operation may fail when using such an incompatible client. -

- -

CVSNT Note: CVSNT prefers users to store the passwords -inside the registry. If the cvspass task -and the passfile attribute don't seem to work for you, the most likely -reason is that CVSNT ignores your .cvspass file completely. See bugzilla -report 21657 for recommended workarounds.

- -

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
commandthe CVS command to execute.No, default "checkout".
compressiontrue or false - if set - to true, this is the same as compressionlevel="3"No. Defaults to false.
compressionlevelA number between 1 and 9 (corresponding to - possible values for CVS' -z# argument). Any - other value is treated as compression="false"No. Defaults to no compression.
cvsRootthe CVSROOT variable.No
cvsRshthe CVS_RSH variable.No
destthe directory where the checked out files should - be placed. Note that this is different from CVS's -d command line - switch as Apache Ant will never shorten pathnames to avoid empty - directories.No, default is project's basedir.
packagethe package/module to check out. Note: - multiple attributes can be split using spaces. Use a nested - <module> element if you want to specify a module with - spaces in its name.No
tagthe tag of the package/module to check out.No
dateUse the most recent revision no later than the given dateNo
quietsuppress informational messages. This is the same as -q on the command line.No, default "false"
reallyquietsuppress all messages. This is the same as - -Q on the command line. since Ant 1.6.No, default "false"
noexecreport only, don't change any files.No, default to "false"
outputthe file to direct standard output from the command.No, default output to ANT Log as MSG_INFO.
errorthe file to direct standard error from the command.No, default error to ANT Log as MSG_WARN.
appendwhether to append output/error when redirecting to a file.No, default to "false".
portPort used by CVS to communicate with the server.No, default port 2401.
passfilePassword file to read passwords from.No, default file ~/.cvspass.
failonerrorStop the build process if the command exits with a - return code other than 0. Defaults to "false"No
- -

Parameters specified as nested elements

- -

module

- -

Specifies a package/module to work on, unlike the package attribute - modules specified using this attribute can contain spaces in their - name.

- - - - - - - - - - - - -
AttributeDescriptionRequired
nameThe module's/package's name.Yes.
- -

Examples

-
  <cvs cvsRoot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic"
-       package="ant"
-       dest="${ws.dir}"
-  />
-

checks out the package/module "ant" from the CVS -repository pointed to by the cvsRoot attribute, and stores the files in "${ws.dir}".

-
  <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. -The equivalent, using <commandline> elements, is: -

-
-<cvs output="patch">
-    <commandline>
-        <argument value="-q"/>
-        <argument value="diff"/>
-        <argument value="-u"/>
-        <argument value="-N"/>
-    </commandline>
-</cvs>
-
-or: -
-<cvs output="patch">
-    <commandline>
-        <argument line="-q diff -u -N"/>
-    </commandline>
-</cvs>
-
-

-You may include as many <commandline> elements as you like. -Each will inherit the failonerror, compression, and other "global" parameters -from the <cvs> element. -

- - -
  <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

- - - - - -- cgit 1.2.3-korg