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

pantsbuild / pants / 8871
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: deps/terminal-size-0.4
DEFAULT BRANCH: main
Ran 01 Feb 2016 05:57PM UTC
Jobs 7
Files 0
Run time –
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

pending completion
8871

push

travis-ci

stuhood
run.jvm: run java without a workunit

(like `scala.repl`)

This helps in a few ways:
1) `./pants -q run path/to/jvm/target` now shows only hides the pants stuff but shows actual program's output (just like it already does for python).
2) Output is no longer buffered through pants, so a silly program that prints 100k chars now takes ~1 second instead of ~760 minutes (or 8 seconds for 10k chars) (on my laptop).
3) Buggy programs that print too much to no longer fill up the user's hard drive.

This has the (perhaps obvious) downside that `./pants run`'s Java command line and stdout/stderr no longer show up in the run report.

The cwd changes in this diff are because this change broke the `--run-jvm-cwd` behavior -- `Runner`s were taking a cwd in both their constructors and their `run`/`spawn` methods. The constructor's parameter was effectively unused, because it was shadowed by the method parameters. It seemed cleanest to just remove the redundant parameter and room for error and just rely on the cwd already attached to each `Runner` instance (presumably there's no strong use case for reusing the same `Runner` instance across multiple executions+cwds).

Testing Done:
https://travis-ci.org/pantsbuild/pants/builds/106142040

Bugs closed: 504, 2864

Reviewed at https://rbcommons.com/s/twitter/r/3401/
Jobs
ID Job ID Ran Files Coverage
1 8871.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 01 Feb 2016 05:57PM UTC 0
Travis Job 8871.1
4 8871.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 01 Feb 2016 06:06PM UTC 0
Travis Job 8871.4
6 8871.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 01 Feb 2016 06:04PM UTC 0
Travis Job 8871.6
7 8871.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 01 Feb 2016 06:06PM UTC 0
Travis Job 8871.7
8 8871.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 01 Feb 2016 06:08PM UTC 0
Travis Job 8871.8
9 8871.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 01 Feb 2016 06:16PM UTC 0
Travis Job 8871.9
10 8871.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 01 Feb 2016 06:12PM UTC 0
Travis Job 8871.10
Source Files on build 8871
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8871
  • 3094f6ce on github
  • Prev Build on master (#8869)
  • Next Build on master (#8872)
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