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