quickstartgenerator_jetty12/src/main/java/com/google/appengine/tools/development/jetty/QuickStartGenerator.java [37:66]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static void main(String[] args) {
    if (args.length != 2) {
      System.out.println("Usage: pass 2 arguments:");
      System.out.println("       first argument contains the path to a web application");
      System.out.println("       second argument contains the path to a webdefault.xml file.");
      System.exit(1);
    }
    String path = args[0];
    String webDefault = args[1];
    File fpath = new File(path);
    if (!fpath.exists()) {
      System.out.println("Error: Web Application directory does not exist: " + fpath);
      System.exit(1);
    }
    File fWebDefault = new File(webDefault);
    if (!fWebDefault.exists()) {
      System.out.println("Error: webdefault.xml file does not exist: " + fWebDefault);
      System.exit(1);
    }
    fpath = new File(fpath, "WEB-INF");
    if (!fpath.exists()) {
      System.out.println("Error: Path does not exist: " + fpath);
      System.exit(1);
    }
    // Keep Jetty silent for INFO messages.
    System.setProperty("org.eclipse.jetty.server.LEVEL", "WARN");
    System.setProperty("org.eclipse.jetty.quickstart.LEVEL", "WARN");
    boolean success = generate(path, fWebDefault);
    System.exit(success ? 0 : 1);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



quickstartgenerator_jetty12_ee10/src/main/java/com/google/appengine/tools/development/jetty/QuickStartGenerator.java [37:66]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static void main(String[] args) {
    if (args.length != 2) {
      System.out.println("Usage: pass 2 arguments:");
      System.out.println("       first argument contains the path to a web application");
      System.out.println("       second argument contains the path to a webdefault.xml file.");
      System.exit(1);
    }
    String path = args[0];
    String webDefault = args[1];
    File fpath = new File(path);
    if (!fpath.exists()) {
      System.out.println("Error: Web Application directory does not exist: " + fpath);
      System.exit(1);
    }
    File fWebDefault = new File(webDefault);
    if (!fWebDefault.exists()) {
      System.out.println("Error: webdefault.xml file does not exist: " + fWebDefault);
      System.exit(1);
    }
    fpath = new File(fpath, "WEB-INF");
    if (!fpath.exists()) {
      System.out.println("Error: Path does not exist: " + fpath);
      System.exit(1);
    }
    // Keep Jetty silent for INFO messages.
    System.setProperty("org.eclipse.jetty.server.LEVEL", "WARN");
    System.setProperty("org.eclipse.jetty.quickstart.LEVEL", "WARN");
    boolean success = generate(path, fWebDefault);
    System.exit(success ? 0 : 1);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



quickstartgenerator/src/main/java/com/google/appengine/tools/development/jetty/QuickStartGenerator.java [36:65]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static void main(String[] args) {
    if (args.length != 2) {
      System.out.println("Usage: pass 2 arguments:");
      System.out.println("       first argument contains the path to a web application");
      System.out.println("       second argument contains the path to a webdefault.xml file.");
      System.exit(1);
    }
    String path = args[0];
    String webDefault = args[1];
    File fpath = new File(path);
    if (!fpath.exists()) {
      System.out.println("Error: Web Application directory does not exist: " + fpath);
      System.exit(1);
    }
    File fWebDefault = new File(webDefault);
    if (!fWebDefault.exists()) {
      System.out.println("Error: webdefault.xml file does not exist: " + fWebDefault);
      System.exit(1);
    }
    fpath = new File(fpath, "WEB-INF");
    if (!fpath.exists()) {
      System.out.println("Error: Path does not exist: " + fpath);
      System.exit(1);
    }
    // Keep Jetty silent for INFO messages.
    System.setProperty("org.eclipse.jetty.server.LEVEL", "WARN");
    System.setProperty("org.eclipse.jetty.quickstart.LEVEL", "WARN");
    boolean success = generate(path, fWebDefault);
    System.exit(success ? 0 : 1);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



