bazelbuild / bazelbuild/rules_java

How to use `remote_java_repository` with a JDK release where Java home is nested?

Đang mở
#102 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
P3 question
Ngôn ngữ chính
Starlark
Star
103
Fork
102
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
build-system
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.