• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 6600 / 3
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: add-generic-option-to-docker-image
DEFAULT BRANCH: main
Ran 02 Sep 2015 02:57PM UTC
Files 383
Run time 14s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Sep 2015 02:45PM UTC coverage: 70.978% (+0.3%) from 70.662%
CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'"

push

travis-ci

jsirois
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/

16217 of 22848 relevant lines covered (70.98%)

0.71 hits per line

Source Files on job 6600.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'")
  • Tree
  • List 0
  • Changed 158
  • Source Changed 1
  • Coverage Changed 158
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6600
  • Travis Job 6600.3
  • 13bf956e on github
  • Prev Job for CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'" on master (#6597.3)
  • Next Job for CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'" on master (#6602.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc