Quellcode durchsuchen

SONAR-11792 only ES executable for linux/mac is used

tags/7.7
Sébastien Lesaint vor 5 Jahren
Ursprung
Commit
0dea4ed30e

+ 1
- 8
server/sonar-main/src/main/java/org/sonar/application/es/EsInstallation.java Datei anzeigen

@@ -103,14 +103,7 @@ public class EsInstallation {
}

public File getExecutable() {
return new File(homeDirectory, "bin/" + getExecutableName());
}

private static String getExecutableName() {
if (System.getProperty("os.name").startsWith("Windows")) {
return "elasticsearch.bat";
}
return "elasticsearch";
return new File(homeDirectory, "bin/elasticsearch");
}

public File getLog4j2PropertiesLocation() {

Laden…
Abbrechen
Speichern