startConsoleScanner();
} catch (Exception e) {
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()));