commit 085bcace513f88d90cf5455736536ba52cb35079 Author: Stu Hood Date: Tue Aug 18 14:40:13 2015 -0700 Filter zinc compilation warnings at the Reporter level The existing impl did not include the severity in its match, so it's possible that errors could be filtered. - Only filter non-errors - Filter zinc compilation at the Reporter level, rather than in the logger - Split between message filters and filename filters Testing Done: Used: ./pants --config-override=pants.ini.isolated publish.jar --no-dryrun --local=~/.m2/repository --named-snapshot=$USER-`date +%s` src/scala/org/pantsbuild/zinc:: ...to do a local publish, then tested that: ./pants --config-override=pants.ini.isolated compile testprojects/src/java/org/pantsbuild/testproject/dummies:: properly applied both `-msg-filter` and `-file-filter`. ---- Can add a pants integration test once this release goes out. Reviewed at https://rbcommons.com/s/twitter/r/2656/ src/scala/org/pantsbuild/zinc/Compiler.scala | 3 +-- src/scala/org/pantsbuild/zinc/Main.scala | 11 ++++++++--- src/scala/org/pantsbuild/zinc/Settings.scala | 9 ++++++--- 3 files changed, 15 insertions(+), 8 deletions(-) commit 8af41f559cf0cbf76bc52ec9b349970449177e03 Author: Stu Hood Date: Tue Aug 18 09:29:38 2015 -0700 Update to sbt 0.13.9. - Replace deprecated `AggressiveCompile.compile1` usage with `IC.incrementalCompile` - Add workaround class to expose an `Analysis.empty` method that takes the nameHashing parameter Unfortunately, I found out after these changes that neither Fedor's nor my fix made the 0.13.9 release. I started working to backport them here (and may post that later) but ran into other issues that I'm looking into. Meanwhile, it seemed worth it to get this in at least. Testing Done: https://github.com/pantsbuild/pants/pull/1985 a local publish looked sane, and compiled/tested all examples cleanly Reviewed at https://rbcommons.com/s/twitter/r/2629/ src/scala/org/pantsbuild/zinc/Compiler.scala | 111 ++++++++++++++------------- src/scala/org/pantsbuild/zinc/Inputs.scala | 19 +++-- 2 files changed, 70 insertions(+), 60 deletions(-) commit 8eb2fdf78159c8af2b55027eebb9c2e7adf22756 Author: Stu Hood Date: Wed Jul 8 08:30:19 2015 -0700 Remove Nailgun specific classes from zinc, since pants invokes Main directly. zinc's caches are attached to the `object Compiler` singleton, which holds the analysis, compiler, and resident caches with setup-specific cache keys. This means that it survives along with nailgun's classloader. Testing Done: https://github.com/pantsbuild/pants/pull/1765 Reviewed at https://rbcommons.com/s/twitter/r/2439/ src/scala/org/pantsbuild/zinc/Settings.scala | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)