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

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

initial import of LiRK3

File size: 6.6 KB
Line 
1<html>
2
3<head>
4<meta http-equiv="Content-Language" content="en-us">
5<title>Continuus Tasks</title>
6<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
7</head>
8
9<body>
10
11<h1>Continuus Support</h1>
12<ul>
13 <li><a href="#ccmcheckin">CCMCheckin</a></li>
14 <li><a href="#ccmcheckout">CCMCheckout</a></li>
15 <li><a href="#ccmcheckintask">CCMCheckinTask</a></li>
16 <li><a href="#ccmreconfigure">CCMReconfigure</a></li>
17 <li><a href="#ccmcreatetask">CCMCreateTask</a></li>
18</ul>
19
20<p>These ant tasks are wrappers around Continuus Source Manager. They have been tested
21 against versions 5.1/6.2 on Windows 2000, but should work on other platforms with ccm installed.</p>
22<p>author: <a href="mailto:[email protected]">Benoit Mousaud ([email protected]) </a></p>
23<hr>
24<h2><a name="ccmcheckin">CCMCheckin</a></h2>
25<h3>Description</h3>
26Task to checkin a file
27<h3>Parameters</h3>
28<table border="1" cellpadding="2" cellspacing="0" width="598">
29 <tr>
30 <th>Attribute</th>
31 <th>Values</th>
32 <th>Required</th>
33 </tr>
34 <tr>
35 <td>file</td>
36 <td>Path to the file that the command will operate on</td>
37 <td>Yes</td>
38 </tr>
39 <tr>
40 <td>comment</td>
41 <td>Specify a comment. Default is &quot;Checkin&quot; plus the date</td>
42 <td>No</td>
43 </tr>
44 <tr>
45 <td>task</td>
46 <td>Specify the task number used to check in the file (may use 'default')</td>
47 <td>No</td>
48 </tr>
49 <tr>
50 <td>ccmdir</td>
51 <td>path to the ccm executable file, required if it is not on the PATH</td>
52 <td>No</td>
53 </tr>
54</table>
55<h3>Examples</h3>
56<blockquote>
57 <pre>&lt;ccmcheckin file=&quot;c:/wa/com/foo/MyFile.java&quot;
58 comment=&quot;mycomment&quot;/&gt;
59</pre>
60</blockquote>
61<p>Checks in the file <i>c:/wa/com/foo/MyFile.java</i>.
62 Comment attribute <i>mycomment</i> is added as a task comment. The task
63 used is the one set as the default.</p>
64<hr>
65<h2><a name="ccmcheckout">CCMCheckout</a></h2>
66<h3>Description</h3>
67Task to perform a Checkout command to Continuus
68<h3>Parameters</h3>
69<table border="1" cellpadding="2" cellspacing="0" width="614">
70 <tr>
71 <th>Attribute</th>
72 <th>Values</th>
73 <th>Required</th>
74 </tr>
75 <tr>
76 <td>file</td>
77 <td>Path to the file that the command will operate on</td>
78 <td rowspan=2">Yes (file|fileset)</td>
79 </tr>
80 <tr>
81 <td>fileset</td>
82 <td>fileset containing the file to be checked out</td>
83 </tr>
84 <tr>
85 <td>comment</td>
86 <td>Specify a comment.</td>
87 <td>No</td>
88 </tr>
89 <tr>
90 <td>task</td>
91 <td>Specify the task number used to checkin the file (may use
92 'default')</td>
93 <td>No</td>
94 </tr>
95 <tr>
96 <td>ccmdir</td>
97 <td>path to the ccm executable file, required if it is not on the PATH</td>
98 <td>No</td>
99 </tr>
100</table>
101<h3>Examples</h3>
102<blockquote>
103 <pre>&lt;ccmcheckout file=&quot;c:/wa/com/foo/MyFile.java&quot;
104 comment=&quot;mycomment&quot;/&gt;
105</pre>
106</blockquote>
107<p>Check out the file <i>c:/wa/com/foo/MyFile.java</i>.
108 Comment attribute <i>mycomment</i> is added as a task comment
109 The used task is the one set as the default.</p>
110<blockquote>
111 <pre>&lt;ccmcheckout comment=&quot;mycomment&quot;&gt;
112 &lt;fileset dir=&quot;lib&quot; &gt;
113 &lt;include name=&quot;**/*.jar&quot;/&gt;
114 &lt;/fileset&gt;
115&lt;/ccmcheckout &gt;
116 </pre>
117</blockquote>
118
119<p>Check out all the files in the <i>lib</i> directory having the <i>.jar</i> extension.
120 Comment attribute <i>mycomment</i> is added as a task comment
121 The used task is the one set as the default.</p>
122
123
124
125<hr>
126<h2><a name="ccmcheckintask">CCMCheckinTask</a></h2>
127<h3>Description</h3>
128Task to perform a check in default task command to Continuus
129<h3>Parameters</h3>
130<table border="1" cellpadding="2" cellspacing="0">
131 <tr>
132 <th>Attribute</th>
133 <th>Values</th>
134 <th>Required</th>
135 </tr>
136 <tr>
137 <td>comment</td>
138 <td>Specify a comment.</td>
139 <td>No</td>
140 </tr>
141 <tr>
142 <td>task</td>
143 <td>Specify the task number used to check in the file (may use 'default')</td>
144 <td>No</td>
145 </tr>
146 <tr>
147 <td>ccmdir</td>
148 <td >path to the ccm executable file, required if it is not on the PATH</td>
149 <td>No</td>
150 </tr>
151</table>
152<h3>Examples </h3>
153<blockquote>
154 <pre>&lt;ccmcheckintask comment=&quot;blahblah/&gt;
155</pre>
156</blockquote>
157<p>Does a Checkin default task on all the checked out files in the current task.</p>
158<hr>
159<h2><a name="ccmreconfigure">CCMReconfigure</a></h2>
160<h3>Description</h3>
161Task to perform an reconfigure command to Continuus.
162<h3>Parameters</h3>
163<table border="1" cellpadding="2" cellspacing="0">
164 <tr>
165 <th>Attribute</th>
166 <th>Values</th>
167 <th>Required</th>
168 </tr>
169 <tr>
170 <td>recurse</td>
171 <td>recurse on subproject (default false)</td>
172 <td>No</td>
173 </tr>
174 <tr>
175 <td>verbose</td>
176 <td>do a verbose reconfigure operation (default false)</td>
177 <td>No</td>
178 </tr>
179 <tr>
180 <td>ccmproject</td>
181 <td>Specifies the ccm project on which the operation is applied.</td>
182 <td>Yes</td>
183 </tr>
184 <tr>
185 <td>ccmdir</td>
186 <td >path to the ccm executable file, required if it is not on the PATH</td>
187 <td>No</td>
188 </tr>
189</table>
190<h3>Examples</h3>
191<blockquote>
192 <pre>&lt;ccmreconfigure ccmproject=&quot;ANTCCM_TEST#BMO_1&quot;
193 verbose=&quot;true&quot;/&gt;
194</pre>
195</blockquote>
196<p>Does a Continuus <i>reconfigure</i> on the project <i>ANTCCM_TEST#BMO_1</i>.
197</p>
198<hr>
199<h2><a name="ccmcreatetask">CCMCreateTask</a></h2>
200<h3>Description</h3>
201Create a Continuus task.
202<h3>Parameters</h3>
203<table border="1" cellpadding="2" cellspacing="0">
204 <tr>
205 <th>Attribute</th>
206 <th>Values</th>
207 <th>Required</th>
208 </tr>
209 <tr>
210 <td>comment</td>
211 <td>Specify a comment.</td>
212 <td>No</td>
213 </tr>
214 <tr>
215 <td>platform</td>
216 <td>Specify the target platform</td>
217 <td>No</td>
218 </tr>
219 <tr>
220 <td>ccmdir</td>
221 <td >path to the ccm executable file, required if it is not on the PATH</td>
222 <td>No</td>
223 </tr>
224 <tr>
225 <td>resolver</td>
226 <td>Specify the resolver</td>
227 <td>No</td>
228 </tr>
229 <tr>
230 <td>release</td>
231 <td>Specify the CCM release</td>
232 <td>No</td>
233 </tr>
234 <tr>
235 <td>subsystem</td>
236 <td>Specify the subsystem</td>
237 <td>No</td>
238 </tr>
239 <tr>
240 <td>task</td>
241 <td>Specify the task number used to checkin the file (may use 'default')</td>
242 <td>No</td>
243 </tr>
244</table>
245<h3>Examples</h3>
246<blockquote>
247 <pre>&lt;ccmcreatetask resolver=&quot;${user.name}&quot;
248 release=&quot;ANTCCM_TEST&quot; comment=&quot;blahblah&quot;/&gt;
249</pre>
250</blockquote>
251<p>Creates a task for the release <i>ANTCCM_TEST</i> with the
252 current user as the resolver for this task.</p>
253
254<hr>
255<p align="center">Copyright &copy; 2001-2004 The Apache Software Foundation. All rights
256Reserved.</p>
257</body>
258
259</html>
Note: See TracBrowser for help on using the repository browser.