source: release-kits/lirk3/resources/gs3-release-maker/apache-ant-1.6.5/docs/manual/CoreTasks/cvsversion.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 2.9 KB
Line 
1<html>
2
3<head>
4<meta http-equiv="Content-Language" content="en-us">
5<title>CVSVersion Task</title>
6<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
7</head>
8
9<body>
10
11<h2><a name="cvs">CvsVersion</a></h2>
12<h3>Description</h3>
13<p>
14This task allows to retrieve a CVS client and server version.
15 <i>Since Ant 1.6.1.</i>
16</p>
17<h3>Parameters</h3>
18<table border="1" cellpadding="2" cellspacing="0">
19 <tr>
20 <td valign="top"><b>Attribute</b></td>
21 <td valign="top"><b>Description</b></td>
22 <td align="center" valign="top"><b>Required</b></td>
23 </tr>
24 <tr>
25 <td colspan="3">Attributes from parent Cvs task which are meaningful here</td>
26 </tr>
27 <tr>
28 <td valign="top">cvsRoot</td>
29 <td valign="top">the <code>CVSROOT</code> variable.</td>
30 <td align="center" valign="top">No</td>
31 </tr>
32 <tr>
33 <td valign="top">cvsRsh</td>
34 <td valign="top">the <code>CVS_RSH</code> variable.</td>
35 <td align="center" valign="top">No</td>
36 </tr>
37 <tr>
38 <td valign="top">dest</td>
39 <td valign="top">directory containing the checked out version of the project</td>
40 <td align="center" valign="top">No, default is project's basedir.</td>
41 </tr>
42 <tr>
43 <td valign="top">package</td>
44 <td valign="top">the package/module to check out.</td>
45 <td align="center" valign="top">No</td>
46 </tr>
47 <tr>
48 <td valign="top">port</td>
49 <td valign="top">Port used by CVS to communicate with the server.</td>
50 <td align="center" valign="top">No, default port 2401.</td>
51 </tr>
52 <tr>
53 <td valign="top">passfile</td>
54 <td valign="top">Password file to read passwords from.</td>
55 <td align="center" valign="top">No, default file ~/.cvspass.</td>
56 </tr>
57 <tr>
58 <td valign="top">failonerror</td>
59 <td valign="top">Stop the build process if the command exits with a
60 return code other than <code>0</code>. Defaults to false</td>
61 <td align="center" valign="top">No</td>
62 </tr>
63 <tr>
64 <td colspan="3">Specific attributes</td>
65 </tr>
66 <tr>
67 <td valign="top">clientversionproperty</td>
68 <td valign="top">Name of a property where the cvsclient version
69 should be stored</td>
70 <td align="center" valign="top">No</td>
71 </tr>
72 <tr>
73 <td valign="top">serverversionproperty</td>
74 <td valign="top">Name of a property where the cvs server version
75 should be stored</td>
76 <td align="center" valign="top">No</td>
77 </tr>
78</table>
79<h3>Examples</h3>
80<pre> &lt;cvsversion cvsRoot=&quot;:pserver:[email protected]:/home/cvspublic&quot;
81 passfile=&quot;/home/myself/.cvspass&quot;
82 serverversionproperty=&quot;apachecvsversion&quot;
83 clientversionproperty=&quot;localcvsversion&quot;
84 /&gt;</pre>
85<p>finds out the cvs client and server versions and stores the versions in the
86properties called apachecvsversion and localcvsversion</p>
87
88<hr>
89<p align="center">Copyright &copy; 2004 Apache Software
90Foundation. All rights Reserved.</p>
91
92</body>
93</html>
94
Note: See TracBrowser for help on using the repository browser.