I need to run the embedded Jetty on port different to the default 8080, using SBT 0.10
The question was answered here for SBT 0.7 – In which file do I need to add an override for the jetty port when running a lift webapp in dev mode from sbt?.
I can find no reference to do the same for SBT 0.10
I am using the Full configuration (Build.scala) for multi modules and not quick the sbt dsl.
I need to run the embedded Jetty on port different to the default 8080,
Share
In SBT 0.10 Jetty support no longer goes as a part of the build tool, but rather shipped as a plugin. In order to change the port, you’ll have to initialize
jettyPortsetting with your value:Or, if you’re running from the console:
See plugin instructions for more details.