1. /*
  2. * Copyright 2003-2004 The Apache Software Foundation
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. *
  16. */
  17. package org.apache.tools.ant.taskdefs.optional.vss;
  18. /**
  19. * Holds all the constants for the VSS tasks.
  20. *
  21. */
  22. public interface MSVSSConstants {
  23. /** Constant for the thing to execute */
  24. String SS_EXE = "ss";
  25. /** Dollar Sigh to prefix the project path */
  26. String PROJECT_PREFIX = "$";
  27. /** The 'CP' command */
  28. String COMMAND_CP = "CP";
  29. /** The 'Add' command */
  30. String COMMAND_ADD = "Add";
  31. /** The 'Get' command */
  32. String COMMAND_GET = "Get";
  33. /** The 'Checkout' command */
  34. String COMMAND_CHECKOUT = "Checkout";
  35. /** The 'Checkin' command */
  36. String COMMAND_CHECKIN = "Checkin";
  37. /** The 'Label' command */
  38. String COMMAND_LABEL = "Label";
  39. /** The 'History' command */
  40. String COMMAND_HISTORY = "History";
  41. /** The 'Create' command */
  42. String COMMAND_CREATE = "Create";
  43. /** The brief style flag */
  44. String STYLE_BRIEF = "brief";
  45. /** The codediff style flag */
  46. String STYLE_CODEDIFF = "codediff";
  47. /** The nofile style flag */
  48. String STYLE_NOFILE = "nofile";
  49. /** The default style flag */
  50. String STYLE_DEFAULT = "default";
  51. /** The text for current (default) timestamp */
  52. String TIME_CURRENT = "current";
  53. /** The text for modified timestamp */
  54. String TIME_MODIFIED = "modified";
  55. /** The text for updated timestamp */
  56. String TIME_UPDATED = "updated";
  57. /** The text for replacing writable files */
  58. String WRITABLE_REPLACE = "replace";
  59. /** The text for skiping writable files */
  60. String WRITABLE_SKIP = "skip";
  61. /** The text for failing on writable files */
  62. String WRITABLE_FAIL = "fail";
  63. String FLAG_LOGIN = "-Y";
  64. String FLAG_OVERRIDE_WORKING_DIR = "-GL";
  65. String FLAG_AUTORESPONSE_DEF = "-I-";
  66. String FLAG_AUTORESPONSE_YES = "-I-Y";
  67. String FLAG_AUTORESPONSE_NO = "-I-N";
  68. String FLAG_RECURSION = "-R";
  69. String FLAG_VERSION = "-V";
  70. String FLAG_VERSION_DATE = "-Vd";
  71. String FLAG_VERSION_LABEL = "-VL";
  72. String FLAG_WRITABLE = "-W";
  73. String VALUE_NO = "-N";
  74. String VALUE_YES = "-Y";
  75. String FLAG_QUIET = "-O-";
  76. String FLAG_COMMENT = "-C";
  77. String FLAG_LABEL = "-L";
  78. String VALUE_FROMDATE = "~d";
  79. String VALUE_FROMLABEL = "~L";
  80. String FLAG_OUTPUT = "-O";
  81. String FLAG_USER = "-U";
  82. String FLAG_NO_FILE = "-F-";
  83. String FLAG_BRIEF = "-B";
  84. String FLAG_CODEDIFF = "-D";
  85. String FLAG_FILETIME_DEF = "-GTC";
  86. String FLAG_FILETIME_MODIFIED = "-GTM";
  87. String FLAG_FILETIME_UPDATED = "-GTU";
  88. String FLAG_REPLACE_WRITABLE = "-GWR";
  89. String FLAG_SKIP_WRITABLE = "-GWS";
  90. String FLAG_NO_GET = "-G-";
  91. }