Skip to content
New issue

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

Explicitly add directory entries to resources JARs (Cherry-pick of #16264) #16296

Merged
merged 2 commits into from Jul 25, 2022

Conversation

chrisjrn
Copy link
Contributor

Per @somdoron's discovery, resources JARs need directory entries in order to work correctly at runtime. This adds an entry for every directory that corresponds to a file in the set of resource files. Also includes a unit test that verifies that the directory entries are present.

Closes #16231.

Per @somdoron's discovery, resources JARs need directory entries in order to work correctly at runtime. This adds an entry for every directory that corresponds to a file in the set of resource files. Also includes a unit test that verifies that the directory entries are present.

Closes pantsbuild#16231.

[ci skip-rust]

[ci skip-build-wheels]
@chrisjrn chrisjrn added the category:bugfix Bug fixes for released features label Jul 25, 2022
@chrisjrn chrisjrn requested a review from stuhood July 25, 2022 19:36
Per @somdoron's discovery, resources JARs need directory entries in order to work correctly at runtime. This adds an entry for every directory that corresponds to a file in the set of resource files. Also includes a unit test that verifies that the directory entries are present.

Closes pantsbuild#16231.

[ci skip-rust]

(cherry picked from commit 6a27b46)

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@chrisjrn chrisjrn merged commit 15a3fbe into pantsbuild:2.13.x Jul 25, 2022
@chrisjrn chrisjrn deleted the cherry-pick-16264-to-2.13.x branch July 26, 2022 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants