commit 98c86e0dcf65a9224b726b9b67d41e5f1ce0c253 Author: Stu Hood Date: Wed Jun 24 09:55:21 2015 -0700 Add log capture to isolated zinc compiles This change adds an optional debug log file to zinc, and includes it in the artifact cache to help determine the provenance of the classfiles and analysis in a cache entry. - Drop analysis manipulation code from zinc (can split this out into a separate change if need be) - Add the `capture-log` option to zinc - Split out named Regex and File loggers - Remove LoggerRaw in favor of writing directly to stdout - Add (admittedly limited) support for log capture in the isolated strategy with zinc - Log exception messages when jobs fail in the execution graph - Switch scala tests in the pants codebase from `specs1` (deprecated) to `scalatest` - Add a unit test for compound logging Testing Done: first unit test for zinc, local testing https://github.com/pantsbuild/pants/pull/1721 Reviewed at https://rbcommons.com/s/twitter/r/2404/ src/scala/org/pantsbuild/zinc/Compiler.scala | 13 ++-- src/scala/org/pantsbuild/zinc/Inputs.scala | 57 ++++------------ src/scala/org/pantsbuild/zinc/Main.scala | 32 ++++----- src/scala/org/pantsbuild/zinc/Settings.scala | 73 +++++++-------------- src/scala/org/pantsbuild/zinc/Setup.scala | 76 ++-------------------- .../pantsbuild/zinc/SimpleCompileProgress.scala | 6 +- src/scala/org/pantsbuild/zinc/Util.scala | 56 +--------------- 7 files changed, 63 insertions(+), 250 deletions(-)