Export synthetic jar path for external junit run

Review Request #3626 - Created March 30, 2016 and submitted

Information
Yi Cheng
pants
3111
3623
3638, 3637
Reviewers
pants-reviews
benjyw, nhoward_tw, peiyu, stuhood, zundel

This change adds --manifest-only under export-classpath goal to export the synthetic classpath jar that would've been used for pants junit run to dist/export-classpath/manifest.jar, so IntelliJ JUnit runner can pick it up.

Currently IntelliJ junit runner will load up classfiles for all targets imported in a project. For example, when x:: is imported to intellij, and user invokes a test that only concerns x/y/z:foo, classfiles for all targets in x:: will still be loaded.

This change will have the following benefits:
1. intellij junit runner will be as hygienic as pants junit run.
2. it simplifies the existing interface of classfile collection by target ids.
3. less time for intellij junit runner to find the classpath.
4. discover intellij junit runner stat based on this flag.

https://travis-ci.org/wisechengyi/pants/builds/119919857

Yi Cheng
Stu Hood
Yi Cheng
Stu Hood
Yi Cheng
Stu Hood
Yi Cheng
Review request changed

Status: Closed (submitted)

Change Summary:

aaeddcbaafcbd5bd517b87143284d15fa9db9fe5

Loading...