Package org.gradle.logging

Examples of org.gradle.logging.ProgressLoggerFactory.newOperation()


        startJettyInternal();
    }

    public void startJettyInternal() {
        ProgressLoggerFactory progressLoggerFactory = getServices().get(ProgressLoggerFactory.class);
        ProgressLogger progressLogger = progressLoggerFactory.newOperation(AbstractJettyRunTask.class)
                .start("Start Jetty server", "Starting Jetty");
        try {
            setServer(createServer());

            applyJettyXml();
View Full Code Here


            throw new GradleException("Could not start the Jetty server.", e);
        } finally {
            progressLogger.completed();
        }

        progressLogger = progressLoggerFactory.newOperation(AbstractJettyRunTask.class)
                .start(String.format("Run Jetty at http://localhost:%d/%s", getHttpPort(), getContextPath()),
                        String.format("Running at http://localhost:%d/%s", getHttpPort(), getContextPath()));
        try {
            // keep the thread going if not in daemon mode
            server.join();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.