Using sbt with custom Scala builds

I sometimes play with Scala forks and sometimes I need to debug these forks in SBT projects. In general, it scalaHomeworks great, but there are a few things that I would like to find more effective ways to achieve.

1) Is it possible for SBT to collect custom scalac files created using the assembly ant quick, and not jar files issued by the command ant pack? The latter implies 5-10 seconds of additional assembly delay, so it would be great to avoid this.

2) Even in large projects, the problems shown by the scalar usually appear when compiling individual files. Is there a way to tell sbt to ignore the change tracking heuristic and recompile just one file? What I would especially like to prevent is the recompilation of the whole world when I recompile scalaHomeor change the flags of a scalar.

3) Is it possible to have sbt hot reload scalac classes coming from scalaHomewhen it is scalaHomerecompiled? Currently, I have to disable and restart sbt in order to apply the changes.

+4
source share
1 answer

1) , sbt Scala. Scala sbt, Scala , , , , , .

2) , . https://github.com/sbt/sbt/issues/604

3) sbt 0.13 , scalaHome, . , .

+3

All Articles