Ran
|
Jobs
10
|
Files
383
|
Run time
11min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Implement a synthetic jar that sets Class-Path to bypass ARG_MAX limit This will replace previous -cp long list of jars with a synthetic jar that include just one manifest file which sets classpath. See https://docs.oracle.com/javase/7/docs/technotes/guides/extensions/spec.html#bundled An example: ``` tw-mbp-peiyu:source peiyu$ unzip -q -c /var/folders/z8/hfw3c_sj25b2t3wmnlfq3kjm0000gn/T/tmpEoF_ax.jar META-INF/MANIFEST.MF|head Class-Path: /Users/peiyu/workspace/source/.pants.d/bootstrap/bootstrap -jvm-tools/tool_cache/shaded_jars/org.pantsbuild.tools.junit.ConsoleR unner-c6805c19c.jar /Users/peiyu/works pace/source/.pants.d/compile/jvm/zinc/jars/1c60e6c695b4.jar /Users/pe iyu/.ivy2/limiter/cache/org.easymock/easymock/jars/easymock-3.2.jar / Users/peiyu/.ivy2/limiter/cache/org.objenesis/objenesis/jars/objenesi s-1.3.jar /Users/peiyu/.ivy2/limiter/cache/cglib/cglib-nodep/jars/cgl ib-nodep-2.2.2.jar /Users/peiyu/.ivy2/limiter/cache/org.easymock/easy mockclassextension/jars/easymockclassextension-3.2.jar /Users/peiyu/. ivy2/limiter/cache/com.google.guava/guava/bundles/guava-16.0.1.jar /U ``` Note the slash '/' after resource directory names is required, without '/' are jar files Testing Done: https://travis-ci.org/peiyuwang/pants/builds/76583366 Tested on some large twitter monorepo targets. Bugs closed: 1988, 2116 Reviewed at https://rbcommons.com/s/twitter/r/2672/
17174 of 22848 relevant lines covered (75.17%)
1.42 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|