Package com.google.appengine.tools.wargen

Examples of com.google.appengine.tools.wargen.WarGenerator


    if (!appYamlFile.isFile()) {
      throw new IllegalArgumentException(appYamlFile.getPath() + " not found.");
    }
    File destination = (generatedWarDir == null ? null : new File(generatedWarDir));
    try {
      WarGenerator warGen =
          WarGeneratorFactory.newWarGenerator(externalResourceDirectory, destination);
      String warDir =  warGen.generateWarDirectory().getPath();
      System.out.println("Successfully generated war directory at " + warDir);
      return warDir;
    } catch (IOException e) {
      throw new RuntimeException("Unable to generate a war directory.", e);
    }
View Full Code Here

TOP

Related Classes of com.google.appengine.tools.wargen.WarGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.