sbt/main
Grzegorz Kossakowski a7fb54e4df Add debug logging in ClassfileManager
Add logging of various operations the transactional class file manager is
doing. You can pass logger to be used by the transactional class file
manager by using overloaded definition of `ClassfileManager.transactional`
method. The old overload has been deprecated.

The factory methods for class file manager in IncOptions companion object
has been deprecated in favor of using ClassfileManager companion object
directly. The code in Defaults.scala has been updated to use non-deprecated
methods. The logging is turned off by default.

The canonical way of enabling transactional class file manager in sbt
project is:

```
incOptions := incOptions.value.withNewClassfileManager(
  sbt.inc.ClassfileManager.transactional(
    crossTarget.value / "classes.bak",
    (streams in (compile, Compile)).value.log
  )
)
```

It's a bit verbose which shows that the api for this is not the best.
However, I don't expect sbt users to need this code very often.

This patch should help debug the problem described in #1184
2014-04-11 13:42:21 +02:00
..
actions/src Added TestResultLogger for customising test feedback. 2014-04-09 19:14:29 +10:00
command/src/main/scala/sbt Use string interpolation and replace deprecated methods 2014-01-06 14:17:42 +01:00
settings/src Merge pull request #1115 from metasim/Structure-docs 2014-03-03 14:16:21 -05:00
src Add debug logging in ClassfileManager 2014-04-11 13:42:21 +02:00
NOTICE fix component name in main notice 2010-09-21 22:00:11 -04:00