From a1b38fadb836f768af6a2cb348d1687715381b25 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 5 Jun 2018 12:47:14 -0500 Subject: [PATCH] Issue #1905 - Deprecate jetty-runner Signed-off-by: Joakim Erdfelt --- .../src/main/java/org/eclipse/jetty/runner/Runner.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jetty-runner/src/main/java/org/eclipse/jetty/runner/Runner.java b/jetty-runner/src/main/java/org/eclipse/jetty/runner/Runner.java index 41e803cbbe7..12fe3a27ca6 100644 --- a/jetty-runner/src/main/java/org/eclipse/jetty/runner/Runner.java +++ b/jetty-runner/src/main/java/org/eclipse/jetty/runner/Runner.java @@ -63,7 +63,9 @@ import org.eclipse.jetty.xml.XmlConfiguration; * Runner *

* Combine jetty classes into a single executable jar and run webapps based on the args to it. + * @deprecated No replacement provided or available. Migrate to jetty-home (and use {@code ${jetty.base}} directory). */ +@Deprecated public class Runner { private static final Logger LOG = Log.getLogger(Runner.class); @@ -553,6 +555,10 @@ public class Runner public static void main(String[] args) { + System.err.println("WARNING: jetty-runner is deprecated."); + System.err.println(" See Jetty Documentation for startup options"); + System.err.println(" https://www.eclipse.org/jetty/documentation/"); + Runner runner = new Runner(); try