sbt/compile
Grzegorz Kossakowski c7f435026f Include value of `nameHashing` flag in `CompileSetup`.
The CompileSetup class is being used to detect changes to arguments of
incremental compiler that affect result of compilation and trigger
recompilation. Examples of such arguments include, the target (output)
directory, Scala compiler options, Scala compiler version, etc.

By adding `nameHashing` to CompileSetup we have a chance to handle change
to that flag smoothly by throwing away old Analysis object and starting
with an empty one. That's implemented in AggressiveComile by extending
the logic that was responsible for detection of changes to CompileSetup
values. Thanks to this change we fix #1081.

Analysis formats has been updated to support persisting of newly added
value in CompileSetup. We used to not store the value of `nameHashing`
flag in persisted Analysis file and infer it from contents of relations
but that leads to issue #1071 when empty relations are involved. Given
the fact that CompileSetup stores `nameHashing` value now, we can just
use it when reading relations and fix #1071. This requires reading/writing
compile setup before reading relations. I decided to make that change even
if there's a comment saying that reading/writing relations first was done
intentionally.
2014-02-17 17:00:19 +01:00
..
api Fixes #1035 by catching the format error and returning the erased type as a backup. 2013-12-13 14:04:31 -05:00
inc Include value of `nameHashing` flag in `CompileSetup`. 2014-02-17 17:00:19 +01:00
integration/src/main/scala/sbt/compiler Include value of `nameHashing` flag in `CompileSetup`. 2014-02-17 17:00:19 +01:00
interface Merge pull request #1013 from gkossakowski/used-names-extraction 2013-12-03 03:30:21 -08:00
ivy/src/main/scala/sbt/compiler Follow source layout convention supported by Eclipse. 2012-12-07 10:27:08 -08:00
persist Include value of `nameHashing` flag in `CompileSetup`. 2014-02-17 17:00:19 +01:00
src/main/scala/sbt Merge ExtendedReporter into Reporter. 2013-05-27 19:12:39 -04:00
NOTICE - Stuart's improvements to triggered execution 2010-07-05 12:53:37 -04:00