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