I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 8cc03c26 authored by zzz's avatar zzz
Browse files

JettyStart: Fix (now unused) main()

parent 47a0df76
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ import org.eclipse.jetty.xml.XmlConfiguration; ...@@ -38,6 +38,7 @@ import org.eclipse.jetty.xml.XmlConfiguration;
/** /**
* Start Jetty where the args are one or more XML files. * Start Jetty where the args are one or more XML files.
* Save a reference to the Server so it can be cleanly stopped later. * Save a reference to the Server so it can be cleanly stopped later.
* Caller must call startup()
* *
* This is like XmlConfiguration.main(), which is essentially what * This is like XmlConfiguration.main(), which is essentially what
* org.mortbay.start.Main does. * org.mortbay.start.Main does.
...@@ -215,7 +216,8 @@ public class JettyStart implements ClientApp { ...@@ -215,7 +216,8 @@ public class JettyStart implements ClientApp {
*/ */
public static void main(String[] args) { public static void main(String[] args) {
try { try {
new JettyStart(null, null, args); JettyStart js = new JettyStart(null, null, args);
js.startup();
} catch (RuntimeException e) { } catch (RuntimeException e) {
throw e; throw e;
} catch (Exception e) { } catch (Exception e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment