make/tools/CompileProperties/CompileProperties.java

changeset 465
f983c1dca202
parent 1
9a66ca7c79fa
child 554
9d9f26857129
     1.1 --- a/make/tools/CompileProperties/CompileProperties.java	Mon Jan 11 14:05:21 2010 -0800
     1.2 +++ b/make/tools/CompileProperties/CompileProperties.java	Mon Jan 11 14:09:15 2010 -0800
     1.3 @@ -101,7 +101,7 @@
     1.4          boolean ok = true;
     1.5          /* Original usage */
     1.6          if (args.length == 2 && args[0].charAt(0) != '-' ) {
     1.7 -            ok = createFile(args[0], args[1], "ListResourceBundle");
     1.8 +            ok = createFile(args[0], args[1], "java.util.ListResourceBundle");
     1.9          } else if (args.length == 3) {
    1.10              ok = createFile(args[0], args[1], args[2]);
    1.11          } else if (args.length == 0) {
    1.12 @@ -285,9 +285,9 @@
    1.13          log.info("    java CompileProperties {-compile path_to_properties_file path_to_java_output_file super_class} -or- -optionsfile filename");
    1.14          log.info("");
    1.15          log.info("Example:");
    1.16 -        log.info("    java CompileProperties -compile test.properties test.java ListResourceBundle");
    1.17 +        log.info("    java CompileProperties -compile test.properties test.java java.util.ListResourceBundle");
    1.18          log.info("    java CompileProperties -optionsfile option_file");
    1.19 -        log.info("option_file contains: -compile test.properties test.java ListResourceBundle");
    1.20 +        log.info("option_file contains: -compile test.properties test.java java.util.ListResourceBundle");
    1.21      }
    1.22  
    1.23      private static String escape(String theString) {
    1.24 @@ -379,7 +379,6 @@
    1.25  
    1.26      private static final String FORMAT =
    1.27              "{0}" +
    1.28 -            "import java.util.ListResourceBundle;\n\n" +
    1.29              "public final class {1} extends {2} '{'\n" +
    1.30              "    protected final Object[][] getContents() '{'\n" +
    1.31              "        return new Object[][] '{'\n" +

mercurial