source: release-kits/lirk3/bin/ant-installer/web/manual1.6.2/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</p>
16<h3>Parameters</h3>
17<table border="1" cellpadding="2" cellspacing="0">
18 <tr>
19 <td valign="top"><b>Attribute</b></td>
20 <td valign="top"><b>Description</b></td>
21 <td align="center" valign="top"><b>Required</b></td>
22 </tr>
23 <tr>
24 <td colspan="3">Attributes from parent Cvs task which are meaningful here</td>
25 </tr>
26 <tr>
27 <td valign="top">cvsRoot</td>
28 <td valign="top">the <code>CVSROOT</code> variable.</td>
29 <td align="center" valign="top">No</td>
30 </tr>
31 <tr>
32 <td valign="top">cvsRsh</td>
33 <td valign="top">the <code>CVS_RSH</code> variable.</td>
34 <td align="center" valign="top">No</td>
35 </tr>
36 <tr>
37 <td valign="top">dest</td>
38 <td valign="top">directory containing the checked out version of the project</td>
39 <td align="center" valign="top">No, default is project's basedir.</td>
40 </tr>
41 <tr>
42 <td valign="top">package</td>
43 <td valign="top">the package/module to check out.</td>
44 <td align="center" valign="top">No</td>
45 </tr>
46 <tr>
47 <td valign="top">port</td>
48 <td valign="top">Port used by CVS to communicate with the server.</td>
49 <td align="center" valign="top">No, default port 2401.</td>
50 </tr>
51 <tr>
52 <td valign="top">passfile</td>
53 <td valign="top">Password file to read passwords from.</td>
54 <td align="center" valign="top">No, default file ~/.cvspass.</td>
55 </tr>
56 <tr>
57 <td valign="top">failonerror</td>
58 <td valign="top">Stop the build process if the command exits with a
59 return code other than <code>0</code>. Defaults to false</td>
60 <td align="center" valign="top">No</td>
61 </tr>
62 <tr>
63 <td colspan="3">Specific attributes</td>
64 </tr>
65 <tr>
66 <td valign="top">cvsclientproperty</td>
67 <td valign="top">Name of a property where the cvsclient version
68 should be stored</td>
69 <td align="center" valign="top">No</td>
70 </tr>
71 <tr>
72 <td valign="top">cvsserverproperty</td>
73 <td valign="top">Name of a property where the cvs server version
74 should be stored</td>
75 <td align="center" valign="top">No</td>
76 </tr>
77</table>
78<h3>Examples</h3>
79<pre> &lt;cvsversion cvsRoot=&quot;:pserver:[email protected]:/home/cvspublic&quot;
80 passfile=&quot;/home/myself/.cvspass&quot;
81 cvsserverproperty=&quot;apachecvsversion&quot;
82 cvsclientproperty=&quot;localcvsversion&quot;
83 /&gt;</pre>
84<p>finds out the cvs client and server versions and stores the versions in the
85properties called apachecvsversion and localcvsversion</p>
86
87<hr>
88<p align="center">Copyright &copy; 2004 Apache Software
89Foundation. All rights Reserved.</p>
90
91</body>
92</html>
93
Note: See TracBrowser for help on using the repository browser.