Move Shader from pants.java to the jvm backend.

Review Request #2788 - Created Sept. 9, 2015 and submitted

Information
John Sirois
pants
jsirois/issues/2154
2154, 2159
aac1e40...
Reviewers
pants-reviews
gmalmquist, zundel
As things stood, the core pants.java utilties had to depend on the jvm
backend, forcing backends like python to have to do said same
transitively.  All uses of the Shader are in the jvm backend, so the
move is clean.

 src/python/pants/backend/jvm/BUILD                                                      |  2 +-
 src/python/pants/backend/jvm/register.py                                                |  2 +-
 src/python/pants/backend/jvm/subsystems/BUILD                                           | 15 ++++++++++++++-
 src/python/pants/{java/jar => backend/jvm/subsystems}/shader.py                         |  2 +-
 src/python/pants/backend/jvm/tasks/BUILD                                                | 12 ++++++------
 src/python/pants/backend/jvm/tasks/bootstrap_jvm_tools.py                               |  3 +--
 src/python/pants/backend/jvm/tasks/checkstyle.py                                        |  2 +-
 src/python/pants/backend/jvm/tasks/junit_run.py                                         |  2 +-
 src/python/pants/backend/jvm/tasks/jvm_binary_task.py                                   |  2 +-
 src/python/pants/backend/jvm/tasks/jvm_compile/BUILD                                    |  2 +-
 src/python/pants/backend/jvm/tasks/jvm_compile/scala/zinc_compile.py                    |  2 +-
 src/python/pants/java/jar/BUILD                                                         | 20 +-------------------
 tests/python/pants_test/{java/jar => backend/jvm/subsystems}/BUILD                      | 21 ++++++---------------
 tests/python/pants_test/{java/jar => backend/jvm/subsystems}/test_shader.py             |  2 +-
 tests/python/pants_test/{java/jar => backend/jvm/subsystems}/test_shader_integration.py |  0
 tests/python/pants_test/backend/jvm/tasks/BUILD                                         |  2 +-
 tests/python/pants_test/backend/jvm/tasks/test_bootstrap_jvm_tools.py                   |  2 +-
 tests/python/pants_test/java/jar/BUILD                                                  | 27 ---------------------------
 18 files changed, 39 insertions(+), 81 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/79552477
Eric Ayers
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...