01: /*
02: * Copyright 2006 Google Inc.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
05: * use this file except in compliance with the License. You may obtain a copy of
06: * the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13: * License for the specific language governing permissions and limitations under
14: * the License.
15: */
16: package com.google.gwt.dev.util;
17:
18: import com.google.gwt.core.ext.TreeLogger;
19: import com.google.gwt.dev.util.msg.Message0;
20: import com.google.gwt.dev.util.msg.Message1String;
21:
22: /**
23: * Static messages.
24: */
25: public class Messages {
26:
27: public static final Message0 HINT_CHECK_CLASSPATH_SOURCE_ENTRIES = new Message0(
28: TreeLogger.ERROR,
29: "Hint: Check that your classpath includes all required source roots");
30:
31: public static final Message0 HINT_CHECK_INHERIT_CORE = new Message0(
32: TreeLogger.ERROR,
33: "Hint: Check that your module inherits 'com.google.gwt.core.Core' either directly or indirectly (most often by inheriting module 'com.google.gwt.user.User')");
34: public static final Message0 HINT_CHECK_INHERIT_USER = new Message0(
35: TreeLogger.ERROR,
36: "Hint: Check that your module inherits 'com.google.gwt.user.User' either directly or indirectly");
37: public static final Message0 HINT_CHECK_MODULE_INHERITANCE = new Message0(
38: TreeLogger.ERROR,
39: "Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly");
40: public static final Message0 HINT_CHECK_MODULE_NONCLIENT_SOURCE_DECL = new Message0(
41: TreeLogger.ERROR,
42: "Hint: Your source appears not to live underneath a subpackage called 'client'; no problem, but you'll need to use the <source> directive in your module to make it accessible");
43: public static final Message1String HINT_CHECK_TYPENAME = new Message1String(
44: TreeLogger.ERROR,
45: "Hint: Check that the type name '$0' is really what you meant");
46: public static final Message0 HINT_PRIOR_COMPILER_ERRORS = new Message0(
47: TreeLogger.ERROR,
48: "Hint: Previous compiler errors may have made this type unavailable");
49:
50: private Messages() {
51: }
52: }
|