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.

vssget.html 2.3 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>Ant User Manual</title>
  5. </head>
  6. <body>
  7. <h2><a name="vssget">VssGet</a></h2>
  8. <h3>Description</h3>
  9. Task to perform GET commands to Microsoft Visual Source Safe.
  10. <p>If you specify two or more attributes from version, date and
  11. label only one will be used in the order version, date, label.</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>localpath</td>
  31. <td>Override the working directory and get to the specified path</td>
  32. <td>No</td>
  33. </tr>
  34. <tr>
  35. <td>writable</td>
  36. <td>true or false</td>
  37. <td>No</td>
  38. </tr>
  39. <tr>
  40. <td>recursive</td>
  41. <td>true or false</td>
  42. <td>No</td>
  43. </tr>
  44. <tr>
  45. <td>version</td>
  46. <td>a version number to get</td>
  47. <td>No</td>
  48. </tr>
  49. <tr>
  50. <td>date</td>
  51. <td>a date stamp to get at</td>
  52. <td>No</td>
  53. </tr>
  54. <tr>
  55. <td>label</td>
  56. <td>a label to get for</td>
  57. <td>No</td>
  58. </tr>
  59. <tr>
  60. <td>ssdir</td>
  61. <td>directory where <code>ss.exe</code> resides. By default the
  62. task expects it to be in the PATH.</td>
  63. <td>No</td>
  64. </tr>
  65. <tr>
  66. <td>serverPath</td>
  67. <td>directory where <code>srssafe.ini</code> resides.</td>
  68. <td>No</td>
  69. </tr>
  70. </table>
  71. <p>Note that only one of version, date or label should be specified</p>
  72. <h3>Examples</h3>
  73. <blockquote>
  74. <pre>
  75. &lt;vssget localPath=&quot;C:\mysrc\myproject&quot;
  76. recursive=&quot;true&quot;
  77. label=&quot;Release1&quot;
  78. login=&quot;me,mypassword&quot;
  79. vsspath=&quot;/source/aProject&quot;
  80. writable=&quot;true&quot;/&gt;
  81. </pre>
  82. </blockquote>
  83. <p>Does a get on the VSS-Project <i>$/source/aproject</i> using the username
  84. <i>me</i> and the password <i>mypassword</i>. It will recursively get the files
  85. which are labeled <i>Release1</i> and write them to the local directory
  86. <i>C:\mysrc\myproject</i>. The local files will be writable.</p>
  87. <hr>
  88. <p align="center">Copyright &copy; 2000,2001 Apache Software Foundation. All rights
  89. Reserved.</p>
  90. </body>
  91. </html>