peterreilly 2004/03/03 06:14:57 Modified: docs/manual/CoreTasks Tag: ANT_16_BRANCH cvs.html Log: sync with head Revision Changes Path No revision No revision 1.18.2.4 +9 -11 ant/docs/manual/CoreTasks/cvs.html Index: cvs.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/cvs.html,v retrieving revision 1.18.2.3 retrieving revision 1.18.2.4 diff -u -r1.18.2.3 -r1.18.2.4 --- cvs.html 9 Feb 2004 22:12:07 -0000 1.18.2.3 +++ cvs.html 3 Mar 2004 14:14:57 -0000 1.18.2.4 @@ -11,8 +11,6 @@ <h3>Description</h3> <p>Handles packages/modules retrieved from a <a href="http://www.cvshome.org/" target="_top">CVS</a> repository.</p> -<p>When doing automated builds, the <a href="get.html">get task</a> should be -preferred over the <i>checkout</i> command, because of speed.</p> <p><b>Important:</b> This task needs "<code>cvs</code>" on the path. If it isn't, you will get an error (such as error <code>2</code> on windows). If <code><cvs></code> doesn't work, try to execute <code>cvs.exe</code> from the command line in the target directory in which you are working. @@ -55,7 +53,7 @@ <tr> <td valign="top">dest</td> <td valign="top">the directory where the checked out files should - be placed. Note that this is different from CVS's -d command line + be placed. Note that this is different from CVS's <code>-d</code> command line switch as Ant will never shorten pathnames to avoid empty directories.</td> <td align="center" valign="top">No, default is project's basedir.</td> @@ -94,12 +92,12 @@ <tr> <td valign="top">output</td> <td valign="top">the file to direct standard output from the command.</td> - <td align="center" valign="top">No, default output to ANT Log as MSG_INFO.</td> + <td align="center" valign="top">No, default output to ANT Log as <code>MSG_INFO</code>.</td> </tr> <tr> <td valign="top">error</td> <td valign="top">the file to direct standard error from the command.</td> - <td align="center" valign="top">No, default error to ANT Log as MSG_WARN.</td> + <td align="center" valign="top">No, default error to ANT Log as <code>MSG_WARN</code>.</td> </tr> <tr> <td valign="top">append</td> @@ -109,17 +107,17 @@ <tr> <td valign="top">port</td> <td valign="top">Port used by CVS to communicate with the server.</td> - <td align="center" valign="top">No, default port 2401.</td> + <td align="center" valign="top">No, default port <code>2401</code>.</td> </tr> <tr> <td valign="top">passfile</td> <td valign="top">Password file to read passwords from.</td> - <td align="center" valign="top">No, default file ~/.cvspass.</td> + <td align="center" valign="top">No, default file <code>~/.cvspass</code>.</td> </tr> <tr> <td valign="top">failonerror</td> <td valign="top">Stop the build process if the command exits with a - return code other than <code>0</code>. Defaults to false</td> + return code other than <code>0</code>. Defaults to "false"</td> <td align="center" valign="top">No</td> </tr> </table> @@ -158,7 +156,7 @@ </cvs> </pre> <p> -You may include as many <commandline> elements as you like. +You may include as many <code><commandline></code> elements as you like. Each will inherit the <code>failonerror</code>, <code>compression</code>, and other "global" parameters from the <code><cvs></code> element. </p> @@ -168,8 +166,8 @@ <p>Updates from the head of repository ignoring sticky bits (<code>-A</code>) and creating any new directories as necessary (<code>-d</code>).</p> <p>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 <a href="http://www.cvshome.org/docs/manual/cvs-1.11.7/cvs.html" target="_top">the cvs manual</a> for details, -specifically the <a href="http://www.cvshome.org/docs/manual/cvs-1.11.7/cvs_16.html" target="_top">Guide to CVS commands</a></p> +above. See <a href="http://www.cvshome.org/docs/manual/cvs-1.11.13/cvs.html" target="_top">the cvs manual</a> for details, +specifically the <a href="http://www.cvshome.org/docs/manual/cvs-1.11.13/cvs_16.html" target="_top">Guide to CVS commands</a></p> <hr> <p align="center">Copyright © 2000-2004 The Apache Software Foundation. All rights Reserved.</p>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]