001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: *
017: */
018: package org.apache.tools.ant.taskdefs.optional.vss;
019:
020: /**
021: * Holds all the constants for the VSS tasks.
022: *
023: */
024: public interface MSVSSConstants {
025: /** Constant for the thing to execute */
026: String SS_EXE = "ss";
027: /** Dollar Sigh to prefix the project path */
028: String PROJECT_PREFIX = "$";
029:
030: /** The 'CP' command */
031: String COMMAND_CP = "CP";
032: /** The 'Add' command */
033: String COMMAND_ADD = "Add";
034: /** The 'Get' command */
035: String COMMAND_GET = "Get";
036: /** The 'Checkout' command */
037: String COMMAND_CHECKOUT = "Checkout";
038: /** The 'Checkin' command */
039: String COMMAND_CHECKIN = "Checkin";
040: /** The 'Label' command */
041: String COMMAND_LABEL = "Label";
042: /** The 'History' command */
043: String COMMAND_HISTORY = "History";
044: /** The 'Create' command */
045: String COMMAND_CREATE = "Create";
046:
047: /** The brief style flag */
048: String STYLE_BRIEF = "brief";
049: /** The codediff style flag */
050: String STYLE_CODEDIFF = "codediff";
051: /** The nofile style flag */
052: String STYLE_NOFILE = "nofile";
053: /** The default style flag */
054: String STYLE_DEFAULT = "default";
055:
056: /** The text for current (default) timestamp */
057: String TIME_CURRENT = "current";
058: /** The text for modified timestamp */
059: String TIME_MODIFIED = "modified";
060: /** The text for updated timestamp */
061: String TIME_UPDATED = "updated";
062:
063: /** The text for replacing writable files */
064: String WRITABLE_REPLACE = "replace";
065: /** The text for skiping writable files */
066: String WRITABLE_SKIP = "skip";
067: /** The text for failing on writable files */
068: String WRITABLE_FAIL = "fail";
069:
070: /** -Y flag */
071: String FLAG_LOGIN = "-Y";
072: /** -GL flag */
073: String FLAG_OVERRIDE_WORKING_DIR = "-GL";
074: /** -I- flag */
075: String FLAG_AUTORESPONSE_DEF = "-I-";
076: /** -I-Y flag */
077: String FLAG_AUTORESPONSE_YES = "-I-Y";
078: /** -I-N flag */
079: String FLAG_AUTORESPONSE_NO = "-I-N";
080: /** -R flag */
081: String FLAG_RECURSION = "-R";
082: /** -V flag */
083: String FLAG_VERSION = "-V";
084: /** -Vd flag */
085: String FLAG_VERSION_DATE = "-Vd";
086: /** -VL flag */
087: String FLAG_VERSION_LABEL = "-VL";
088: /** -W flag */
089: String FLAG_WRITABLE = "-W";
090: /** -N flag */
091: String VALUE_NO = "-N";
092: /** -Y flag */
093: String VALUE_YES = "-Y";
094: /** -O- flag */
095: String FLAG_QUIET = "-O-";
096: /** -C flag */
097: String FLAG_COMMENT = "-C";
098: /** -L flag */
099: String FLAG_LABEL = "-L";
100: /** ~d flag */
101: String VALUE_FROMDATE = "~d";
102: /** ~L flag */
103: String VALUE_FROMLABEL = "~L";
104: /** -O flag */
105: String FLAG_OUTPUT = "-O";
106: /** -U flag */
107: String FLAG_USER = "-U";
108: /** -F- flag */
109: String FLAG_NO_FILE = "-F-";
110: /** -B flag */
111: String FLAG_BRIEF = "-B";
112: /** -D flag */
113: String FLAG_CODEDIFF = "-D";
114: /** -GTC flag */
115: String FLAG_FILETIME_DEF = "-GTC";
116: /** -GTM flag */
117: String FLAG_FILETIME_MODIFIED = "-GTM";
118: /** -GTU flag */
119: String FLAG_FILETIME_UPDATED = "-GTU";
120: /** -GWR flag */
121: String FLAG_REPLACE_WRITABLE = "-GWR";
122: /** -GWS flag */
123: String FLAG_SKIP_WRITABLE = "-GWS";
124: /** -G- flag */
125: String FLAG_NO_GET = "-G-";
126: }
|