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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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>ssdir</td>
  31. <td>directory where <code>ss.exe</code> resides. By default the task
  32. expects it to be in the PATH.</td>
  33. <td>No</td>
  34. </tr>
  35. <tr>
  36. <td>label</td>
  37. <td>A label to apply to the hierarchy</td>
  38. <td>Yes</td>
  39. </tr>
  40. <tr>
  41. <td>version</td>
  42. <td>An existing file or project version to label. By default the current
  43. version is labelled.</td>
  44. <td>No</td>
  45. </tr>
  46. </table>
  47. <h3>Examples</h3>
  48. <blockquote>
  49. <pre>
  50. &lt;vsslabel vsspath=&quot;/source/aProject&quot;
  51. login=&quot;me,mypassword&quot;
  52. label=&quot;Release1&quot;/&gt;
  53. </pre>
  54. </blockquote>
  55. <p>Labels the current version of the VSS project <i>$/source/aproject</i> with
  56. the label <i>Release1</i> using the username <i>me</i> and the password
  57. <i>mypassword</i>.
  58. </p>
  59. <blockquote>
  60. <pre>
  61. &lt;vsslabel vsspath=&quot;/source/aProject/myfile.txt&quot;
  62. version=&quot;4&quot;
  63. label=&quot;1.03.004&quot;/&gt;
  64. </pre>
  65. </blockquote>
  66. <p>Labels version 4 of the VSS file <i>$/source/aproject/myfile.txt</i> with the
  67. label <i>1.03.004</i>. If this version already has a label, the operation (and
  68. the build) will fail.
  69. </p>
  70. <hr>
  71. <p align="center">Copyright &copy; 2000,2001 Apache Software Foundation. All rights
  72. Reserved.</p>
  73. </body>
  74. </html>