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 KiB

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