Fail to create gem using Windows

Aberta
#5 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
28/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
java
Domínio
build-system

Direção de pesquisa

Start with the Windows command in the guide and build.gradle at line 12, then inspect how the example reads the LS_HOME environment variable when gradlew.bat runs. Reproduce the gem command on Windows 10 and compare the configured variable with the value visible to Gradle. Done means the documented example builds the gem successfully on Windows.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

When following the guide for using the logstash-ouput-java example I get the following error on Windows 10

<path>\logstash-output-java_output_example>gradlew.bat gem

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\TNguy\OneDrive\Documents\Repositories\logstash-output-java_output_example\build.gradle' line: 12

* What went wrong:
A problem occurred evaluating root project 'logstash-output-java_output_example'.
> Could not get unknown property 'LS_HOME' for root project 'logstash-output-java_output_example' of type org.gradle.api.Project.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s

I have already set the LS_HOME environment variable to the path where the logstash code base sits.

Linguagem predominante
Java
Estrelas
8
Forks
16
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de logstash-plugins/logstash-output-java_output_example

Todas as issues de logstash-plugins/logstash-output-java_output_example

Issues semelhantes

Mais issues de Java

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.