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

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