Add flag to disable automatic excludes

Review Request #2252 - Created May 20, 2015 and submitted

Information
Andy Reitz
pants
3c99030...
Reviewers
pants-reviews
ity, stuhood, zundel

The automatic excludes that Stu added are nice when they do what you want. But occasionally this isn't what you want, so this RB makes this behavior optional (and adds some logging so that you can know when it's happening).

Travis running here: https://travis-ci.org/pantsbuild/pants/builds/63427894

Local test succeeded:

[prometheus pants (areitz/add_auto_exclude_option)]$ PANTS_DEV=1 ./pants test tests/python/pants_test/backend/jvm/tasks:ivy_utils
*** Running pants in dev mode from /Users/areitz/workspace/pants/src/python/pants/bin/pants_exe.py ***
INFO] Detected git repository at /Users/areitz/workspace/pants on branch areitz/add_auto_exclude_option

19:48:22 00:00 [main]
               (To run a reporting server: ./pants server)
19:48:22 00:00   [bootstrap]
19:48:22 00:00   [setup]
19:48:22 00:00     [parse]
               Executing tasks in goals: bootstrap -> imports -> unpack-jars -> deferred-sources -> gen -> resolve -> compile -> resources -> test
19:48:22 00:00   [bootstrap]
19:48:22 00:00     [bootstrap-jvm-tools]
19:48:22 00:00   [imports]
19:48:22 00:00     [ivy-imports]
19:48:22 00:00   [unpack-jars]
19:48:22 00:00     [unpack-jars]
19:48:22 00:00   [deferred-sources]
19:48:22 00:00     [deferred-sources]
19:48:22 00:00   [gen]
19:48:22 00:00     [thrift]
19:48:22 00:00     [protoc]
19:48:22 00:00     [antlr]
19:48:22 00:00     [ragel]
19:48:22 00:00     [jaxb]
19:48:22 00:00     [wire]
19:48:22 00:00     [aapt]
19:48:22 00:00     [scrooge]
19:48:22 00:00     [spindle]
19:48:22 00:00   [resolve]
19:48:22 00:00     [ivy]
19:48:22 00:00   [compile]
19:48:22 00:00     [compile]
19:48:22 00:00     [jvm]
19:48:22 00:00       [jvm-compilers]
19:48:22 00:00     [python-eval]
19:48:22 00:00       [eval-targets]
19:48:22 00:00     [checkstyle]
19:48:22 00:00     [scalastyle]
19:48:22 00:00     [cpp-compile]
19:48:22 00:00   [resources]
19:48:22 00:00     [prepare]
19:48:22 00:00   [test]
19:48:22 00:00     [run_prep_command]
19:48:22 00:00     [test]
19:48:22 00:00     [pytest]
19:48:22 00:00       [run]
                     ============== test session starts ===============
                     platform darwin -- Python 2.7.6 -- py-1.4.27 -- pytest-2.6.4
                     plugins: cov, timeout
                     collected 10 items 

                     tests/python/pants_test/backend/jvm/tasks/test_ivy_utils.py ..........

                     =========== 10 passed in 0.52 seconds ============

19:48:25 00:03     [junit]
19:48:25 00:03   [complete]
               SUCCESS
Andy Reitz
Tejal Desai
John Sirois
Eric Ayers
Ity Kaul
Andy Reitz
Review request changed

Status: Closed (submitted)

Loading...