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 5.9 KiB

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