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 | /**
|
---|
20 | * Holds all the constants for the VSS tasks.
|
---|
21 | *
|
---|
22 | */
|
---|
23 | public interface MSVSSConstants {
|
---|
24 | /** Constant for the thing to execute */
|
---|
25 | String SS_EXE = "ss";
|
---|
26 | /** Dollar Sigh to prefix the project path */
|
---|
27 | String PROJECT_PREFIX = "$";
|
---|
28 |
|
---|
29 | /** The 'CP' command */
|
---|
30 | String COMMAND_CP = "CP";
|
---|
31 | /** The 'Add' command */
|
---|
32 | String COMMAND_ADD = "Add";
|
---|
33 | /** The 'Get' command */
|
---|
34 | String COMMAND_GET = "Get";
|
---|
35 | /** The 'Checkout' command */
|
---|
36 | String COMMAND_CHECKOUT = "Checkout";
|
---|
37 | /** The 'Checkin' command */
|
---|
38 | String COMMAND_CHECKIN = "Checkin";
|
---|
39 | /** The 'Label' command */
|
---|
40 | String COMMAND_LABEL = "Label";
|
---|
41 | /** The 'History' command */
|
---|
42 | String COMMAND_HISTORY = "History";
|
---|
43 | /** The 'Create' command */
|
---|
44 | String COMMAND_CREATE = "Create";
|
---|
45 |
|
---|
46 | /** The brief style flag */
|
---|
47 | String STYLE_BRIEF = "brief";
|
---|
48 | /** The codediff style flag */
|
---|
49 | String STYLE_CODEDIFF = "codediff";
|
---|
50 | /** The nofile style flag */
|
---|
51 | String STYLE_NOFILE = "nofile";
|
---|
52 | /** The default style flag */
|
---|
53 | String STYLE_DEFAULT = "default";
|
---|
54 |
|
---|
55 | /** The text for current (default) timestamp */
|
---|
56 | String TIME_CURRENT = "current";
|
---|
57 | /** The text for modified timestamp */
|
---|
58 | String TIME_MODIFIED = "modified";
|
---|
59 | /** The text for updated timestamp */
|
---|
60 | String TIME_UPDATED = "updated";
|
---|
61 |
|
---|
62 | /** The text for replacing writable files */
|
---|
63 | String WRITABLE_REPLACE = "replace";
|
---|
64 | /** The text for skiping writable files */
|
---|
65 | String WRITABLE_SKIP = "skip";
|
---|
66 | /** The text for failing on writable files */
|
---|
67 | String WRITABLE_FAIL = "fail";
|
---|
68 |
|
---|
69 | String FLAG_LOGIN = "-Y";
|
---|
70 | String FLAG_OVERRIDE_WORKING_DIR = "-GL";
|
---|
71 | String FLAG_AUTORESPONSE_DEF = "-I-";
|
---|
72 | String FLAG_AUTORESPONSE_YES = "-I-Y";
|
---|
73 | String FLAG_AUTORESPONSE_NO = "-I-N";
|
---|
74 | String FLAG_RECURSION = "-R";
|
---|
75 | String FLAG_VERSION = "-V";
|
---|
76 | String FLAG_VERSION_DATE = "-Vd";
|
---|
77 | String FLAG_VERSION_LABEL = "-VL";
|
---|
78 | String FLAG_WRITABLE = "-W";
|
---|
79 | String VALUE_NO = "-N";
|
---|
80 | String VALUE_YES = "-Y";
|
---|
81 | String FLAG_QUIET = "-O-";
|
---|
82 | String FLAG_COMMENT = "-C";
|
---|
83 | String FLAG_LABEL = "-L";
|
---|
84 | String VALUE_FROMDATE = "~d";
|
---|
85 | String VALUE_FROMLABEL = "~L";
|
---|
86 | String FLAG_OUTPUT = "-O";
|
---|
87 | String FLAG_USER = "-U";
|
---|
88 | String FLAG_NO_FILE = "-F-";
|
---|
89 | String FLAG_BRIEF = "-B";
|
---|
90 | String FLAG_CODEDIFF = "-D";
|
---|
91 | String FLAG_FILETIME_DEF = "-GTC";
|
---|
92 | String FLAG_FILETIME_MODIFIED = "-GTM";
|
---|
93 | String FLAG_FILETIME_UPDATED = "-GTU";
|
---|
94 | String FLAG_REPLACE_WRITABLE = "-GWR";
|
---|
95 | String FLAG_SKIP_WRITABLE = "-GWS";
|
---|
96 | String FLAG_NO_GET = "-G-";
|
---|
97 | }
|
---|