Package com.google.appengine.tools.plugins.SDKRuntimePlugin

Examples of com.google.appengine.tools.plugins.SDKRuntimePlugin.ApplicationDirectories


        SDKRuntimePlugin runtimePlugin = SDKPluginManager.findRuntimePlugin(
            new File(applicationDirectory));
        if (runtimePlugin != null) {
          try {
            ApplicationDirectories appDirs = runtimePlugin.generateApplicationDirectories(
                new File(applicationDirectory));
            applicationDirectory = appDirs.getWarDir().getPath();
            getArgs().set(0, applicationDirectory);
            externalResourceDir = appDirs.getExternalResourceDir().getPath();
          } catch (IOException e) {
            throw new RuntimeException("Unable to generate the war directory", e);
          }
        }
View Full Code Here


        File appDir = new File(args.get(0)).getCanonicalFile();
        validateWarPath(appDir);

        SDKRuntimePlugin runtimePlugin = SDKPluginManager.findRuntimePlugin(appDir);
        if (runtimePlugin != null) {
          ApplicationDirectories appDirs = runtimePlugin.generateApplicationDirectories(appDir);
          appDir = appDirs.getWarDir();
          externalResourceDir = appDirs.getExternalResourceDir();
        }
        UpdateCheck updateCheck = new UpdateCheck(versionCheckServer, appDir, true);
        if (updateCheck.allowedToCheckForUpdates() && !disableUpdateCheck) {
          updateCheck.maybePrintNagScreen(System.err);
        }
View Full Code Here

TOP

Related Classes of com.google.appengine.tools.plugins.SDKRuntimePlugin.ApplicationDirectories

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.