How can one change the location of the “webapp” directory for a Scalatra application?
问题 By default, Scalatra expects the "webapp" directory to be at src/main/webapp . How could that be changed to, e.g., content/doc-root ? sbt allows for customizing its default directories using something like the following: scalaSource <<= (baseDirectory)(_ / "src") So I assume it's just a matter of knowing the right "configuration key" to use... 回答1: @Kelsey Gilmore-Innis has the right answer, but since it's not accepted let's break it, break it, break it down. First, I'm assuming you're