Merge remote-tracking branch 'origin/jetty-12.1.x' into jetty-12.1.x-SignInWithEthereum
This commit is contained in:
commit
d56c9628c1
|
@ -198,6 +198,15 @@ public abstract class AbstractHomeForker extends AbstractForker
|
|||
if (stopKey != null)
|
||||
cmd.add("-DSTOP.KEY=" + stopKey);
|
||||
|
||||
//put any jetty properties onto the command line
|
||||
if (jettyProperties != null)
|
||||
{
|
||||
for (Map.Entry<String, String> e : jettyProperties.entrySet())
|
||||
{
|
||||
cmd.add(e.getKey() + "=" + e.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
//set up enabled jetty modules
|
||||
StringBuilder tmp = new StringBuilder();
|
||||
tmp.append("--module=");
|
||||
|
@ -214,6 +223,7 @@ public abstract class AbstractHomeForker extends AbstractForker
|
|||
if (libExtJarFiles != null && !libExtJarFiles.isEmpty() && tmp.indexOf("ext") < 0)
|
||||
tmp.append(",ext");
|
||||
tmp.append("," + environment + "-maven");
|
||||
|
||||
cmd.add(tmp.toString());
|
||||
|
||||
//put any other jetty options onto the command line
|
||||
|
@ -222,15 +232,6 @@ public abstract class AbstractHomeForker extends AbstractForker
|
|||
Arrays.stream(jettyOptions.split(" ")).filter(a -> StringUtil.isNotBlank(a)).forEach((a) -> cmd.add(a.trim()));
|
||||
}
|
||||
|
||||
//put any jetty properties onto the command line
|
||||
if (jettyProperties != null)
|
||||
{
|
||||
for (Map.Entry<String, String> e : jettyProperties.entrySet())
|
||||
{
|
||||
cmd.add(e.getKey() + "=" + e.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
//existence of this file signals process started
|
||||
cmd.add("jetty.token.file=" + tokenFile.getAbsolutePath().toString());
|
||||
|
||||
|
|
Loading…
Reference in New Issue