Package com.google.appengine.tools.development

Examples of com.google.appengine.tools.development.DevAppServerFactory


    originalSdkRoot = System.getProperty(SDK_ROOT_PROP);
    System.setProperty(SDK_ROOT_PROP, testConfig.getSdkRoot().getAbsolutePath());

    String address = "127.0.0.1";
    SdkInfo.includeTestingJarOnSharedPath(true);
    server = new DevAppServerFactory().createDevAppServer(testConfig.getAppDir(),
        testConfig.getWebXml(), testConfig.getAppEngineWebXml(), address, 0, true,
        testConfig.installSecurityManager(), testConfig.getClasspath());
    try {
      server.start();
      System.setProperty(testConfig.getPortSystemProperty(), Integer.toString(server.getPort()));
View Full Code Here


    checkStartParams(logger, port, appRootDir);

    TreeLogger branch = logger.branch(TreeLogger.INFO, "Initializing App Engine server");
    maybePerformUpdateCheck(branch);

    DevAppServer server = new DevAppServerFactory().createDevAppServer(
        appRootDir, ADDRESS, port);

    server.setThrowOnEnvironmentVariableMismatch(false);

    @SuppressWarnings("rawtypes")
View Full Code Here

  public static void main(String[] args) throws Exception {

    Thread thread = new Thread(new Runnable() {
      @Override
      public void run() {
        DevAppServerFactory factory = new DevAppServerFactory();
        File file = new File(".");
        String address = "localhost";
        int port = 9090;
        DevAppServer appserver = factory.createDevAppServer(file, address, port);
        try {
          appserver.start();
        } catch (Exception e) {
          throw new RuntimeException(e);
        }
View Full Code Here

TOP

Related Classes of com.google.appengine.tools.development.DevAppServerFactory

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.