Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
1.4
-
None
-
None
Description
To my knowledge, Buildr currently bases its decision on which Scala files to compile based on simple file change heuristics (modified timestamp). Because Scala produces such a massive number of .class files, this can sometimes lead to longer-than-necessary compilation times. SBT (simple-build-tool) contains a rather innovative feature which actually bundles a Scala compiler plugin to optimize these recompilation heuristics. Specifically: http://code.google.com/p/simple-build-tool/source/browse/trunk/src/main/scala/sbt/Analyzer.scala
I'm not entirely clear yet on how it works, but it seems like it would do much to improve Buildr's rather-lengthy Scala build times.