Menu
  • HOME
  • TAGS

Exclude files from Play framework production build

playframework,playframework-2.0,sbt,xsbt-web-plugin,sbt-web

Sbt-filter is what you are looking for. You can follow description at the Github page but basically you have to enable the plugin in your build.sbt, add it to the pipeline and write filter configuration. lazy val root = (project in file(".")).enablePlugins(SbtWeb) pipelineStages := Seq(filter) For example to exclude a...

spray akka deployment on webserver

java,scala,akka,spray,xsbt-web-plugin

Solved the problem. This is what you need to make xsbt-plugin work with the spray application: Set the root-path in application.conf As @jrudolph pointed: spray servlet doesn't know to figure it out automaticly on tomcat: spray.servlet { boot-class = "com.sysgears.example.boot.Boot" root-path = "/rest" request-timeout = 10s } Change class boot...