Skip to content

Conversation

@alexenvoy
Copy link

When using the Bazel zipper to generate the source jar, the entire path starting from bazel-out is sent to the ijar tool, which becomes the paths to the source files inside the generated jar. To remove this unnecessary prefix and produce source jars with directory structure matching standard Java source jars, we can use the dest=src argument style for the ijar tool, using each file's relative paths as the dest part. This produces source jars with the expected directory structure.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jan 5, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: alexenvoy / name: Alex Leigh (3891488)

@alexenvoy
Copy link
Author

Apologies, accidentally pushed an unrelated commit to the PR branch. Fixed now.

@duckladydinh
Copy link
Collaborator

Can you give an example before and after this CL? Also it's quite a long time so the tests couldn't run anymore. I can rebase to retrigger the tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants