From f45cc88d06199b529f68a4337448e82748c64d89 Mon Sep 17 00:00:00 2001 From: Andrey Subbotin Date: Thu, 11 Jan 2018 10:25:17 +0400 Subject: [PATCH] PL-10225 Uber JAR: user can't pass jettyConf file using command line arg --- modules/uberjar/src/com/haulmont/cuba/uberjar/ServerRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/uberjar/src/com/haulmont/cuba/uberjar/ServerRunner.java b/modules/uberjar/src/com/haulmont/cuba/uberjar/ServerRunner.java index 42cf6f87ae..f2b2e91adb 100644 --- a/modules/uberjar/src/com/haulmont/cuba/uberjar/ServerRunner.java +++ b/modules/uberjar/src/com/haulmont/cuba/uberjar/ServerRunner.java @@ -234,7 +234,7 @@ public class ServerRunner { return; } try { - jettyServer.setJettyEnvPathUrl(file.toURI().toURL()); + jettyServer.setJettyConfUrl(file.toURI().toURL()); } catch (MalformedURLException e) { throw new RuntimeException("Unable to create jettyConfUrl", e); }