Reputation: 11
This page: http://www.assembla.com/wiki/show/liftweb/Using_SBT describes how to override the jetty port for lift webapps:
override val jettyPort = 8081
but doesn't state the file that this override should be defined in.
Upvotes: 1
Views: 845
Reputation: 11085
In the project/build/ProjectNameProject.scala
file:
import sbt._
class ProjectNameProject(info: ProjectInfo) extends DefaultWebProject(info) {
// other configuration
override val jettyPort = 8081
}
The jettyPort
is defined in the DefaultProject.scala
file of SBT.
Upvotes: 6