Questions tagged [sbt-revolver]

sbt-revolver is a plugin for SBT enabling a super-fast development turnaround for your Scala applications.

sbt-revolver is a plugin for SBT enabling a super-fast development turnaround for your Scala applications.

It sports the following features:

  • Starting and stopping your application in the background of your interactive SBT shell (in a forked JVM)
  • Triggered restart: automatically restart your application as soon as some of its sources have been changed
9 questions
4
votes
1 answer

SBT with read-only base directory

I am experimenting with SBT Revolver within a Docker container. I am mounting the base directory as a Docker volume. It works great, except for one problem: Docker does not map users, so I'm ending up with project/project/ and project/target/…
Ed I
  • 7,008
  • 3
  • 41
  • 50
3
votes
1 answer

How to run sbt-revolver with a Scala project?

So I'm reading the documentation for sbt-revolver since I'm interest in using its: Triggered restart: automatically restart your application as soon as some of its sources have been changed It says in the documentation that it should work with any…
CommonSenseCode
  • 23,522
  • 33
  • 131
  • 186
2
votes
2 answers

Add a maven dependency to SBT project

I am trying to reference a maven project dependency in my build.sbt file. I understand I need to add an additional resolver to my file since the project is hosted in an internal artifactory store build.sbt libraryDependencies ++= Seq( …
van_d39
  • 725
  • 2
  • 14
  • 28
2
votes
1 answer

Disable sbt-revolver for all but one module

I have a multi-module sbt project comprised of the following modules: > projects [info] In file:/Users/me/workspace/my/project/ [info] backend [info] * myproject [info] rest [info] root I'd like to have sbt-revolver only active on the…
ThaDon
  • 7,826
  • 9
  • 52
  • 84
2
votes
1 answer

How to run sbt Revolver in test scope?

In a Akka project we're using the SBT Revolver plugin to run the application. During development it would be useful if it would be possible to run the application in test scope so log- and application configuration get loaded which helps during…
Joost den Boer
  • 4,556
  • 4
  • 25
  • 39
2
votes
0 answers

What is the simplest way to run sbt re-start before sbt it:test and sbt re-stop afterwards?

I need to do the following in sequential order. Start spray-can server (sbt re-start). Run integration tests (sbt it:test). Stop spray-can server (sbt re-stop). Can't make it work with sbt-sequential plugin since Revolver.reStart is not a Task.
1
vote
1 answer

Custom resourceDirectory for Revolver/Spray

I have a Spray application with a basic front end component with source in src/main/frontend and the deployed version (compiled sass, minification etc.) in Spray's default resources location src/main/resources. I would like to change the resource…
William Carter
  • 1,287
  • 12
  • 19
0
votes
1 answer

Can I make sbt compile additional sources with additional dependencies only for a specific task?

I am using spray revolver to test my application while writting code. I would like to make a revolver run compile additional sources (e.g. /src/dev.scala or whatever) with additional dependencies. This is so when testing locally I can startup some…
emilianogc
  • 880
  • 4
  • 19
-2
votes
1 answer

unresolved dependency: io.spray#sbt-revolver;0.9.1: not found unresolved dependency: de.johoop#sbt-testng-plugin;3.1.1: not found on mac

Facing issue after importing project to intellij. unresolved dependency: io.spray#sbt-revolver;0.9.1: not found unresolved dependency: de.johoop#sbt-testng-plugin;3.1.1: not found How to install above dependencies using bash. i tried…
Axm
  • 1