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.

clearcase.html 6.6 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>Ant</title>
  5. </head>
  6. <body>
  7. <hr>
  8. <h2><a name="optionaltasks">Optional tasks</a></h2>
  9. <ul>
  10. <li><a href="#cccheckin">CCCheckin</a></li>
  11. <li><a href="#cccheckout">CCCheckout</a></li>
  12. <li><a href="#ccuncheckout">CCUnCheckout</a></li>
  13. <li><a href="#ccupdate">CCUpdate</a></li>
  14. </ul>
  15. <hr>
  16. <h2><a name="cccheckin">CCCheckin</a></h2>
  17. <h3>Description</h3>
  18. Task to perform a Checkin command to ClearCase.
  19. <h3>Parameters</h3>
  20. <table border="1" cellpadding="2" cellspacing="0">
  21. <tr>
  22. <th>Attribute</th>
  23. <th>Values</th>
  24. <th>Required</th>
  25. </tr>
  26. <tr>
  27. <td>viewpath</td>
  28. <td>Path to the ClearCase view file or directory that the command
  29. will operate on</td>
  30. <td>No</td>
  31. <tr>
  32. <tr>
  33. <td>comment</td>
  34. <td>Specify a comment. Only one of comment or cfile may be used.</td>
  35. <td>No</td>
  36. <tr>
  37. <tr>
  38. <td>commentfile</td>
  39. <td>Specify a file containing a comment. Only one of comment or cfile
  40. may be used.</td>
  41. <td>No</td>
  42. <tr>
  43. <tr>
  44. <td>nowarn</td>
  45. <td>Suppress warning messages</td>
  46. <td>No</td>
  47. <tr>
  48. <tr>
  49. <td>preservetime</td>
  50. <td>Preserve the modification time</td>
  51. <td>No</td>
  52. <tr>
  53. <tr>
  54. <td>keepcopy</td>
  55. <td>Keeps a copy of the file with a .keep extension</td>
  56. <td>No</td>
  57. <tr>
  58. <tr>
  59. <td>identical</td>
  60. <td>Allows the file to be checked in even if it is identical
  61. to the original</td>
  62. <td>No</td>
  63. <tr>
  64. </table>
  65. <h3>Examples</h3>
  66. <blockquote>
  67. <pre>
  68. &lt;cccheckin viewpath=&quot;c:/views/viewdir/afile&quot;
  69. commentfile=&quot;acomment.txt&quot;/&gt;
  70. nowarn=&quot;true&quot;
  71. identical=&quot;true&quot;
  72. </pre>
  73. </blockquote>
  74. <p>Does a ClearCase <i>checkin</i> on the file <i>c:/views/viewdir/afile</i>.
  75. Comment text from the file <i>acomment.txt</i> is added to ClearCase as a comment.
  76. All warning messages are suppressed. The file is checked in even if it is
  77. <i>identical</i> to the original.</p>
  78. <hr>
  79. <h2><a name="cccheckout">CCCheckout</a></h2>
  80. <h3>Description</h3>
  81. Task to perform a Checkout command to ClearCase.
  82. <h3>Parameters</h3>
  83. <table border="1" cellpadding="2" cellspacing="0">
  84. <tr>
  85. <th>Attribute</th>
  86. <th>Values</th>
  87. <th>Required</th>
  88. </tr>
  89. <tr>
  90. <td>viewpath</td>
  91. <td>Path to the ClearCase view file or directory that the command
  92. will operate on</td>
  93. <td>No</td>
  94. <tr>
  95. <tr>
  96. <td>reserved</td>
  97. <td>Specifies whether to check out the file as reserved or not</td>
  98. <td>Yes</td>
  99. <tr>
  100. <tr>
  101. <td>out</td>
  102. <td>Creates a writable file under a different filename</td>
  103. <td>No</td>
  104. <tr>
  105. <tr>
  106. <td>nodata</td>
  107. <td>Checks out the file but does not create an editable file
  108. containing its data</td>
  109. <td>No</td>
  110. <tr>
  111. <tr>
  112. <td>branch</td>
  113. <td>Specify a branch to check out the file to</td>
  114. <td>No</td>
  115. <tr>
  116. <tr>
  117. <td>version</td>
  118. <td>Allows checkout of a version other than main latest</td>
  119. <td>No</td>
  120. <tr>
  121. <tr>
  122. <td>nowarn</td>
  123. <td>Suppress warning messages</td>
  124. <td>No</td>
  125. <tr>
  126. <tr>
  127. <td>comment</td>
  128. <td>Specify a comment. Only one of comment or cfile may be used.</td>
  129. <td>No</td>
  130. <tr>
  131. <tr>
  132. <td>commentfile</td>
  133. <td>Specify a file containing a comment. Only one of comment or
  134. cfile may be used.</td>
  135. <td>No</td>
  136. <tr>
  137. </table>
  138. <h3>Examples</h3>
  139. <blockquote>
  140. <pre>
  141. &lt;cccheckout viewpath=&quot;c:/views/viewdir/afile&quot;
  142. reserved=&quot;true&quot;
  143. branch=&quot;abranch&quot;
  144. nowarn=&quot;true&quot;
  145. comment=&quot;Some comment text&quot;/&gt;
  146. </pre>
  147. </blockquote>
  148. <p>Does a ClearCase <i>checkout</i> on the file <i>c:/views/viewdir/afile</i>.
  149. It is checked out as <i>reserved</i> on branch called <i>abranch</i>. All
  150. warning messages are suppressed. A <i>Some comment text</i> is added to
  151. ClearCase as a comment.</p>
  152. <hr>
  153. <h2><a name="ccuncheckout">CCUnCheckout</a></h2>
  154. <h3>Description</h3>
  155. Task to perform a UnCheckout command to ClearCase.
  156. <h3>Parameters</h3>
  157. <table border="1" cellpadding="2" cellspacing="0">
  158. <tr>
  159. <th>Attribute</th>
  160. <th>Values</th>
  161. <th>Required</th>
  162. </tr>
  163. <tr>
  164. <td>viewpath</td>
  165. <td>Path to the ClearCase view file or directory that the command
  166. will operate on</td>
  167. <td>No</td>
  168. <tr>
  169. <tr>
  170. <td>keepcopy</td>
  171. <td>Specifies whether to keep a copy of the file with a .keep
  172. extension or not</td>
  173. <td>No</td>
  174. <tr>
  175. </table>
  176. <h3>Examples</h3>
  177. <blockquote>
  178. <pre>
  179. &lt;ccuncheckout viewpath=&quot;c:/views/viewdir/afile&quot;
  180. keepcopy=&quot;true&quot;/&gt;
  181. </pre>
  182. </blockquote>
  183. <p>Does a ClearCase <i>uncheckout</i> on the file <i>c:/views/viewdir/afile</i>.
  184. A copy of the file called <i>c:/views/viewdir/afile.keep</i> is kept.</p>
  185. <hr>
  186. <h2><a name="ccupdate">CCUpdate</a></h2>
  187. <h3>Description</h3>
  188. Task to perform an Update command to ClearCase.
  189. <h3>Parameters</h3>
  190. <table border="1" cellpadding="2" cellspacing="0">
  191. <tr>
  192. <th>Attribute</th>
  193. <th>Values</th>
  194. <th>Required</th>
  195. </tr>
  196. <tr>
  197. <td>viewpath</td>
  198. <td>Path to the ClearCase view file or directory that the command
  199. will operate on</td>
  200. <td>No</td>
  201. <tr>
  202. <tr>
  203. <td>graphical</td>
  204. <td>Displays a graphical dialog during the update</td>
  205. <td>No</td>
  206. <tr>
  207. <tr>
  208. <td>log</td>
  209. <td>Specifies a log file for ClearCase to write to</td>
  210. <td>No</td>
  211. <tr>
  212. <tr>
  213. <td>overwrite</td>
  214. <td>Specifies whether to overwrite hijacked files or not</td>
  215. <td>No</td>
  216. <tr>
  217. <tr>
  218. <td>rename</td>
  219. <td>Specifies that hijacked files should be renamed with a .keep extension</td>
  220. <td>No</td>
  221. <tr>
  222. <tr>
  223. <td>currenttime</td>
  224. <td>Specifies that modification time should be written as the
  225. current time. Either currenttime or preservetime can be
  226. specified.</td>
  227. <td>No</td>
  228. <tr>
  229. <tr>
  230. <td>preservetime</td>
  231. <td>Specifies that modification time should preserved from the
  232. VOB time. Either currenttime or preservetime can be
  233. specified.</td>
  234. <td>No</td>
  235. <tr>
  236. </table>
  237. <h3>Examples</h3>
  238. <blockquote>
  239. <pre>
  240. &lt;ccupdate viewpath=&quot;c:/views/viewdir&quot;
  241. graphical=&quot;false&quot;
  242. log=&quot;log.log&quot;
  243. overwrite=&quot;true&quot;
  244. currenttime=&quot;true&quot;
  245. rename=&quot;false&quot;/&gt;
  246. </pre>
  247. </blockquote>
  248. <p>Does a ClearCase <i>update</i> on the directory <i>c:/views/viewdir</i>.
  249. A graphical dialog will be displayed. The output will be logged to
  250. <i>log.log</i> and it will overwrite any hijacked files. The modified
  251. time will be set to the current time.</p>
  252. </body>
  253. </html>