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.

vsslabel.html 2.1 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>Documentation for Ant 1.3 optional task VSSLABEL</title>
  5. </head>
  6. <body>
  7. <h2><a name="vsslabel">VssLabel</a></h2>
  8. <h3>Description</h3>
  9. Task to perform LABEL commands to Microsoft Visual Source Safe.
  10. <p>Assigns a label to the specified version or current version of a file or
  11. project.</p>
  12. <h3>Parameters</h3>
  13. <table border="1" cellpadding="2" cellspacing="0">
  14. <tr>
  15. <th>Attribute</th>
  16. <th>Values</th>
  17. <th>Required</th>
  18. </tr>
  19. <tr>
  20. <td>login</td>
  21. <td>username,password</td>
  22. <td>No</td>
  23. </tr>
  24. <tr>
  25. <td>vsspath</td>
  26. <td>SourceSafe path</td>
  27. <td>Yes</td>
  28. </tr>
  29. <tr>
  30. <td>serverPath</td>
  31. <td>directory where <code>srssafe.ini</code> resides.</td>
  32. <td>No</td>
  33. </tr>
  34. <tr>
  35. <td>ssdir</td>
  36. <td>directory where <code>ss.exe</code> resides. By default the task
  37. expects it to be in the PATH.</td>
  38. <td>No</td>
  39. </tr>
  40. <tr>
  41. <td>label</td>
  42. <td>A label to apply to the hierarchy</td>
  43. <td>Yes</td>
  44. </tr>
  45. <tr>
  46. <td>version</td>
  47. <td>An existing file or project version to label. By default the current
  48. version is labelled.</td>
  49. <td>No</td>
  50. </tr>
  51. </table>
  52. <h3>Examples</h3>
  53. <blockquote>
  54. <pre>
  55. &lt;vsslabel vsspath=&quot;/source/aProject&quot;
  56. login=&quot;me,mypassword&quot;
  57. label=&quot;Release1&quot;/&gt;
  58. </pre>
  59. </blockquote>
  60. <p>Labels the current version of the VSS project <i>$/source/aproject</i> with
  61. the label <i>Release1</i> using the username <i>me</i> and the password
  62. <i>mypassword</i>.
  63. </p>
  64. <blockquote>
  65. <pre>
  66. &lt;vsslabel vsspath=&quot;/source/aProject/myfile.txt&quot;
  67. version=&quot;4&quot;
  68. label=&quot;1.03.004&quot;/&gt;
  69. </pre>
  70. </blockquote>
  71. <p>Labels version 4 of the VSS file <i>$/source/aproject/myfile.txt</i> with the
  72. label <i>1.03.004</i>. If this version already has a label, the operation (and
  73. the build) will fail.
  74. </p>
  75. <hr>
  76. <p align="center">Copyright &copy; 2000,2001 Apache Software Foundation. All rights
  77. Reserved.</p>
  78. </body>
  79. </html>