You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ccm.html 7.3 kB

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