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

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

Build:
Build:
LAST BUILD BRANCH: tdyas/reapi/another-regression-test
DEFAULT BRANCH: main
Ran 25 May 2015 05:18PM UTC
Files 324
Run time 15s
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

25 May 2015 05:08PM UTC coverage: 64.704% (-1.3%) from 65.956%
CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'"

push

travis-ci

jsirois
Shade zinc.

Zinc can run javac in-process and when it does so it uses no
classpath isolation mechanisms and so can cause annotation processors
run under javac to come into conflict with its own classpath.  This
change shades zinc to avoid the problem altogether.

In so doing, a few changes were needed:
+ Turn on the local artifact cache for bootstrap in the
  pantsbuild/pants repo.  Although the junit-runner shade time is ~5s
  the zinc shade time is ~30s making the need for this acute.
+ Refactor ScalaCompile to explicitly ask for classpaths for
  sbt-interface and compiler-interface.  This work inlines ZincUtils
  which was slated for this.

Along the way some unused lazy tool classpath methods were killed and
a new tool_jar helper was added for tool classpaths that are
expected to have exactly one entry.

Testing Done:
I dogfooded the shading by using the new ':main' target to build a
zinc binary jar and then use that to compile itself by pointing
BUILD.tools to its file:// URL.

CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/63980386

Bugs closed: 1584, 1593

Reviewed at https://rbcommons.com/s/twitter/r/2268/

12605 of 19481 relevant lines covered (64.7%)

0.65 hits per line

Source Files on job 5014.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'")
  • Tree
  • List 0
  • Changed 120
  • Source Changed 4
  • Coverage Changed 120
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5014
  • Travis Job 5014.3
  • 6997d133 on github
  • Prev Job for CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'" on master (#5011.3)
  • Next Job for CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'" on master (#5015.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