01: /*
02: * Enhydra Java Application Server Project
03: *
04: * The contents of this file are subject to the Enhydra Public License
05: * Version 1.1 (the "License"); you may not use this file except in
06: * compliance with the License. You may obtain a copy of the License on
07: * the Enhydra web site ( http://www.enhydra.org/ ).
08: *
09: * Software distributed under the License is distributed on an "AS IS"
10: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11: * the License for the specific terms governing rights and limitations
12: * under the License.
13: *
14: * The Initial Developer of the Enhydra Application Server is Lutris
15: * Technologies, Inc. The Enhydra Application Server and portions created
16: * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17: * All Rights Reserved.
18: *
19: * Contributor(s):
20: *
21: */
22: package org.enhydra.kelp.common;
23:
24: // Common constants.
25: public interface Constants {
26:
27: // strings not to be resourced
28: public static final String TYPE_CHTML = "chtml";
29: public static final String TYPE_CLASS = "class";
30: public static final String TYPE_CONF = "conf";
31: public static final String TYPE_IN = "in";
32: public static final String TYPE_JAR = "jar";
33: public static final String TYPE_HTM = "htm";
34: public static final String TYPE_HTML = "html";
35: public static final String TYPE_JAVA = "java";
36: public static final String TYPE_MK = "mk";
37: public static final String TYPE_TMP = "tmp";
38: public static final String TYPE_TXT = "txt";
39: public static final String TYPE_WAR = "war";
40: public static final String TYPE_WML = "wml";
41: public static final String TYPE_XMLC = "xmlc";
42: public static final String TYPE_XHTML = "xhtml";
43:
44: //
45: public static final String DIR_CLASSES = "classes";
46: public static final String DIR_CONF = "conf";
47: public static final String DIR_CONTENT = "content";
48: public static final String DIR_INPUT = "input";
49: public static final String DIR_GEN_SOURCE = "Generated Source";
50: public static final String DIR_LIB = "lib";
51: public static final String DIR_OUTPUT = "output";
52: public static final String DIR_RESOURCES = "resources";
53: public static final String DIR_SRC = "src";
54:
55: //
56: public static final String FILE_BOOT_JAR = "Boot.jar";
57: public static final String FILE_ENHYDRA_JAR = "enhydra.jar";
58: public static final String FILE_XMLC_JAR = "xmlc.jar";
59: public static final String FILE_TOOLBOX_JAR = "toolbox.jar";
60: public static final String FILE_README = "readme.html";
61: public static final String FILE_EJB_JAR_XML = "ejb-jar.xml";
62: public static final String FILE_KERNEL_CONF = "kernel.conf";
63: public static final String FILE_CONFIG_MK = "config.mk";
64: public static final String FILE_MAKEFILE = "makefile";
65: public static final String FILE_MULTISERVER_CONF = "multiserver.conf";
66: public static final String FILE_BOOTSTRAP_CONF = "bootstrap.conf";
67: public static final String FILE_BOOTSTRAP4_CONF = "bootstrap4.conf";
68: public static final String FILE_KELP_TXT = "kelp.txt";
69: public static final String FILE_WEB_XML = "web.xml";
70: public static final String FILE_ENHYDRA_SERVICE_XML = "enhydra-service.xml";
71: public static final String FILE_JAVA_POLICY = "java.policy";
72: public static final String FILE_SERVLET_CONF = "servlet.conf";
73: public static final String FILE_START_SERVER = "StartServer.java";
74:
75: //
76: public static final String JDK11 = "1.1";
77: public static final String JDK12 = "1.2";
78: public static final String JDK13 = "1.3";
79: public static final String JAVA_VERSION = "java.version";
80:
81: //
82: public static final String TAB1 = " ";
83: public static final String TAB2 = " ";
84: public static final String TAB4 = " ";
85: public static final String NEWLINE = "\n";
86: public static final String[] XMLC_NOOPS = { "-class", "-dump",
87: "-info", "-javac", "-javacflag", "-javacopt", "-keep",
88: "-methods", "-sourceout", "-verbose", "-version" };
89: public static final String XMLC = "XMLC";
90: public static final String KELP = "Kelp";
91: public static final String ENHYDRA = "Enhydra";
92: public static final String TYPE_DODS = "doml";
93: // public static final String TYPE_UNIX_DIRECTORY = "/";
94: // public static final String TYPE_WINDOWS_DIRECTORY = "\\";
95: }
|