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

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