bazelbuild / bazelbuild/rules_java
How to use `remote_java_repository` with a JDK release where Java home is nested?
- Lenguaje dominante
- Starlark
- Estrellas
- 103
- Forks
- 102
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- build-system
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100