Setting the run mode and context of Jetty launched via sbt
by Peter.
For my own future reference. In WEB-INF/jetty-web.xml
place the following:
<?xml version="1.0"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"> <Configure class="org.mortbay.jetty.webapp.WebAppContext"> <Call class="java.lang.System" name="setProperty"> <Arg>run.mode</Arg> <Arg>production</Arg> </Call> <Set name="contextPath">/sso</Set> </Configure> |