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

pantsbuild / pants / 9068
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: deps/tokio-1.53
DEFAULT BRANCH: main
Ran 16 Feb 2016 05:22PM 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
9068

push

travis-ci

peiyuwang
jar-tool properly skipping Manifest file using entry's jarPath

Since `entryPath=="MANIFEST.MF"`, the check for
`JarFile.MANIFEST_NAME.equals(entryPath)` will always be false, instead we
should check entry's jarPath, i.e, the path that's to be written into the jar.

This is surfaced by an uncommon new use case: some applications like scalding
need two main functions in their jars. The second main is supplied as a
MANIFEST.MF resource.

Now when running binary, `-files` contains `/path/to/META-INF/=META-INF/`,
manifest.mf is not skipped because of the above, and results
`duplicate entry: META-INF/MANIFEST.MF` error.

Note: for binary, skipping the 2nd manifest is the appropriate action. Because
there is only one manifest/main for the binary jar. For bundle, this code path
is not executed because we only generated synthetic classpath now.

Testing Done:
https://travis-ci.org/peiyuwang/pants/builds/107703027 passed

Bugs closed: 2899

Reviewed at https://rbcommons.com/s/twitter/r/3437/
Jobs
ID Job ID Ran Files Coverage
1 9068.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 16 Feb 2016 05:27PM UTC 0
Travis Job 9068.1
4 9068.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 16 Feb 2016 05:29PM UTC 0
Travis Job 9068.4
5 9068.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 16 Feb 2016 05:22PM UTC 0
Travis Job 9068.5
6 9068.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 16 Feb 2016 05:39PM UTC 0
Travis Job 9068.6
7 9068.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 16 Feb 2016 05:45PM UTC 0
Travis Job 9068.7
8 9068.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 16 Feb 2016 05:40PM UTC 0
Travis Job 9068.8
9 9068.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 16 Feb 2016 05:45PM UTC 0
Travis Job 9068.9
Source Files on build 9068
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9068
  • 56bf0251 on github
  • Prev Build on master (#9064)
  • Next Build on master (#9069)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc