Add support for snapshotting `ClasspathProducts`.

Review Request #2837 - Created Sept. 16, 2015 and submitted

Information
John Sirois
pants
jsirois/classpath_products/support_snapshots
1841, 2211
2832
8309199...
Reviewers
pants-reviews
nhoward_tw, stuhood
This is part of the story in supporting proper transitive
`JvmBinary.deploy_excludes` in `JvmBinaryTask` derived classes and
in-general sets up users of these products to take a snapshot and then
build upon the products without pollution.

Tests are added to verify the copies used in snapshotting are
sufficiently divorced from their originals.

 src/python/pants/backend/jvm/tasks/classpath_products.py             | 57 +++++++++++++++++++++++++++++++++++++++++++++-----
 src/python/pants/goal/products.py                                    | 18 ++++++++++++++--
 tests/python/pants_test/backend/jvm/tasks/test_classpath_products.py | 47 +++++++++++++++++++++++++++++++++++++++++
 tests/python/pants_test/goal/test_union_products.py                  | 23 ++++++++++++++++++++
 4 files changed, 138 insertions(+), 7 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/80729346
John Sirois
John Sirois
John Sirois
John Sirois
John Sirois
Nick Howard (Twitter)
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...