Package com.google.apphosting.utils.config

Examples of com.google.apphosting.utils.config.ApplicationXml$Modules


  static List<VersionWithWarPath> getEarVersions(File earDirectory) {
    File metaInf = new File(earDirectory, "META-INF");
    File applicationXmlFile = new File(metaInf, "application.xml");
    ImmutableList.Builder<VersionWithWarPath> resultBuilder = ImmutableList.builder();
    try {
      ApplicationXml applicationXml =
          APPLICATION_XML_READER.processXml(new FileInputStream(applicationXmlFile));
      for (ApplicationXml.Modules.Web web : applicationXml.getModules().getWeb()) {
        File warDirectory = new File(earDirectory, web.getWebUri());
        if (isWar(warDirectory)) {
          resultBuilder.add(new VersionWithWarPath(warDirectory, getWarVersion(warDirectory)));
        }
      }
View Full Code Here

TOP

Related Classes of com.google.apphosting.utils.config.ApplicationXml$Modules

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.