sbt/compile
Grzegorz Kossakowski 33514ab6d7 Recover from class files and Analysis object getting out of sync.
The #958 describes a scenario where partially successful results are
produced in form of class files written to disk. However, if compilation
fails down the road we do not record any new compilation results (products)
in Analysis object. This leads to Analysis object and disk contents to get
out of sync.

One way to solve this problem is to use transactional ClassfileManager that
commits changes to class files on disk only when entire incremental
compilation session is successful. Otherwise, new class files are rolled
back to previous state.

The other way to solve this problem is to record time stamps of class files
in Analysis object. This way, incremental compiler can detect that class
files and Analysis object got out of sync and recover from that by
recompiling corresponding sources.

This commit uses latter solution which enables simpler (non-transactional)
ClassfileManager to handle scenario from #958.

Fixes #958
2013-11-08 11:29:17 +01:00
..
api Fix unstable existential type names bug. 2013-10-29 16:39:50 +01:00
inc Recover from class files and Analysis object getting out of sync. 2013-11-08 11:29:17 +01:00
integration/src/main/scala/sbt/compiler Switch to using the interned serialization format. 2013-10-23 10:41:13 -04:00
interface Fix unstable existential type names bug. 2013-10-29 16:39:50 +01:00
ivy/src/main/scala/sbt/compiler Follow source layout convention supported by Eclipse. 2012-12-07 10:27:08 -08:00
persist Allow zinc to use InternedAnalysisFormats. 2013-11-04 09:30:28 -05: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