bazelbuild / bazelbuild/rules_java
How to use `remote_java_repository` with a JDK release where Java home is nested?
- 主要语言
- Starlark
- 星标
- 103
- 派生
- 102
- PR 合并指标
- 30 天内没有已合并 PR
描述
I'm trying to use `remote_java_repository` with GraalVM releases on MacOS.
When extracting the package the layout is of the form:
```
└── Contents
├── Home
│ ├── bin
│ │ ├── java
│ │ ├── javac
```
There are no top level symlinks into the nested `bin` directory as can be seen in the Zulu JDK releases that `remote_java_repository` is normally used with.
Would it be possible to make this rule configurable so that the path to the Java home inside the extracted distribution can be customized?
贡献指南
调研方向
Start at the remote_java_repository rule and reproduce the GraalVM MacOS archive layout shown in the issue, including Contents/Home/bin. Determine how the extracted Java home is currently located; done means the rule can select that nested path and successfully use the JDK without top-level symlinks.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- build-system
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100