bazelbuild / bazelbuild/rules_java
How to use `remote_java_repository` with a JDK release where Java home is nested?
- Linguagem predominante
- Starlark
- Estrelas
- 103
- Forks
- 102
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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?
Guia de contribuição
Direção de pesquisa
Comece pela regra remote_java_repository e reproduza o layout do arquivo GraalVM MacOS mostrado na issue, incluindo Contents/Home/bin. Determine como o Java home extraído é localizado atualmente; considera-se concluído quando a regra puder selecionar esse caminho aninhado e usar o JDK com sucesso sem symlinks de nível superior.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java
- Domínio
- build-system
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100