public StartRunnableJarPhase()

in src/main/java/org/apache/sling/testing/serversetup/StartRunnableJarPhase.java [38:51]


    public StartRunnableJarPhase(final ServerSetup owner, String id, String description, Properties config)
            throws JarExecutor.ExecutorException {
        this.id = id;
        this.description = description;
        executor = new JarExecutor(config);

        String hostname = config.getProperty(TEST_SERVER_HOSTNAME);
        if(hostname == null) {
            hostname = "localhost";
        }
        final String url = "http://" + hostname + ":" + executor.getServerPort();
        log.info("Server base URL={}", url);
        owner.getContext().put(ServerSetup.SERVER_BASE_URL, url);
    }