This repository was archived by the owner on Nov 21, 2026. It is now read-only.
Repository navigation
build.sh: follow a symlinked JAR_LIB_DIR - #463
Merged
Merged
Conversation
The jar check used find on the directory itself, which does not follow a symlinked starting point, so a symlinked lib dir failed with No JAR files found. The check now uses find -H and the staging copy uses cp -aL so symlinked jars are staged as files. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #462
The jar check in bindings/python/scripts/build.sh used
find "$JAR_LIB_DIR", which does not follow a symlinked starting point, so a build with a symlinked lib directory failed with "No JAR files found". The check now usesfind -H, and the staging copy usescp -aLso a jar that is itself a symlink is staged as a real file (a copied link would dangle in the Docker build context and be skipped by thefind -type fhash). One sentence added to docs/development/build-architecture.md.Checked by running build.sh with a fake docker on PATH against a symlinked directory holding one real jar and one symlinked jar. Before the change: "No JAR files found". After: the directory is accepted and both jars land in local-jars/lib as regular files. No test covers build.sh, so none was added, and no full build was run since the change does not touch anything after the staging step.
🤖 Generated with Claude Code