Skip to content

Conversation

@chrisnovakovic
Copy link
Contributor

When a java_toolchain is used to build a java_runtime_image, the toolchain's files are included in the Please sandbox when remote execution is enabled, and should not be included in the --module-path option to jlink. Exclude any JAR files that are part of the toolchain from the jlink module path.

Fixes #47.

When a `java_toolchain` is used to build a `java_runtime_image`, the
toolchain's files are included in the Please sandbox when remote
execution is enabled, and should not be included in the `--module-path`
option to jlink. Exclude any JAR files that are part of the toolchain
from the jlink module path.

Fixes please-build#47.
@chrisnovakovic chrisnovakovic merged commit 3571577 into please-build:master Nov 22, 2024
2 checks passed
@chrisnovakovic chrisnovakovic deleted the java_runtime_image-rex branch November 22, 2024 14:37
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.

java_runtime_image doesn't work with remote execution

3 participants