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

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