We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When jarjar_runner.sh processes a jar that contains a file ending in ~, it fails.
~
jarjar_library( name="test_shaded", rules=[], jars=["test2.jar"] )
mkdir jar cd jar touch test~ build-data.properties jar cf test2.jar * bazel build :test_shaded
INFO: Analyzed target //:test_shaded (0 packages loaded, 0 targets configured). INFO: Found 1 target... ERROR: /Users/*snip*/BUILD.bazel:11:15: Action test_shaded.jar failed: (Exit 1): bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped) Use --sandbox_debug to see verbose messages from the sandbox Error: duplicate files in merged jar: test~ Target //:test_shaded failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 0.191s, Critical Path: 0.09s INFO: 2 processes: 2 internal. FAILED: Build did NOT complete successfully
It should be simple to use comm to filter out any files from duplicate_files that are present in any of the source jars.
comm
duplicate_files
The text was updated successfully, but these errors were encountered:
Hello, I'm facing the same the issue. Does somebody know how can I solve it?
Sorry, something went wrong.
No branches or pull requests
Issue
When jarjar_runner.sh processes a jar that contains a file ending in
~
, it fails.BUILD.bazel:
Steps to reproduce:
Possible solution
It should be simple to use
comm
to filter out any files fromduplicate_files
that are present in any of the source jars.The text was updated successfully, but these errors were encountered: