File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
X64? = false
2
2
3
- ES_FILE_VERSION =5.6.2
3
+ ES_FILE_VERSION =6.0.0
4
4
ES_VERSION =$(ES_FILE_VERSION )
5
- ES_SHA512 =db4ec26915d2dc1673307522c168560f2ff7aa6cd3834d2d19effd398c05881b4cb2b08cbad3c8e7dd223a91ddfa2ff8401aae7ac9d69805dc1db8b88d30e393
5
+ ES_SHA512 =b7830f61577c73fa06fad2b15f876dba5fb239099ce11035a2632035d35a41b25967bd03adb214ef3c286983e7fc3dc27daef1559f66cabd2b24d9394a10a6f8
6
6
ES_NAME =elasticsearch-$(ES_VERSION )
7
7
ES_HOME =vendor/$(ES_NAME )
8
8
ES_LIB =$(ES_HOME ) /lib
Original file line number Diff line number Diff line change 1
1
Set-StrictMode - Version Latest
2
-
2
+ $ProgressPreference = ' SilentlyContinue '
3
3
$ErrorActionPreference = ' Stop'
4
-
5
4
trap {
6
5
Write-Output " ERROR: $_ "
7
6
Write-Output (($_.ScriptStackTrace -split ' \r?\n' ) -replace ' ^(.*)$' , ' ERROR: $1' )
7
+ Write-Output (($_.Exception.ToString () -split ' \r?\n' ) -replace ' ^(.*)$' , ' ERROR EXCEPTION: $1' )
8
8
Exit 1
9
9
}
10
10
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ Name: "{app}\plugins"
59
59
Source : " setup-helper.dll" ; DestDir : " {app} "
60
60
Source : " vendor\SetACL-2.2.0\SetACL.exe" ; DestDir : " {tmp} " ; Flags : deleteafterinstall ignoreversion
61
61
Source : " {#ESPath}\bin\elasticsearchw-{#Bits}.exe" ; DestDir : " {app} \bin" ; DestName : " elasticsearchw.exe"
62
+ Source : " {#ESPath}\bin\elasticsearch-env.bat" ; DestDir : " {app} \bin"
62
63
Source : " {#ESPath}\bin\elasticsearch-keystore.bat" ; DestDir : " {app} \bin"
63
64
Source : " {#ESPath}\bin\elasticsearch-plugin.bat" ; DestDir : " {app} \bin"
64
65
Source : " {#ESPath}\bin\elasticsearch-translog.bat" ; DestDir : " {app} \bin"
Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ set JVM_OPTIONS=%JVM_OPTIONS% -Dfile.encoding=UTF-8
55
55
REM Use our provided JNA always versus the system one
56
56
set JVM_OPTIONS = %JVM_OPTIONS% -Djna.nosys=true
57
57
58
+ REM turn off a JDK optimization that throws away stack traces for common
59
+ REM exceptions because stack traces are important for debugging
60
+ set JVM_OPTIONS = %JVM_OPTIONS% -XX:-OmitStackTraceInFastThrow
61
+
58
62
REM use old-style file permissions on JDK9
59
63
set JVM_OPTIONS = %JVM_OPTIONS% -Djdk.io.permissionsUseCanonicalPath=true
60
64
@@ -66,7 +70,6 @@ set JVM_OPTIONS=%JVM_OPTIONS% -Dio.netty.recycler.maxCapacityPerThread=0
66
70
REM log4j 2
67
71
set JVM_OPTIONS = %JVM_OPTIONS% -Dlog4j.shutdownHookEnabled=false
68
72
set JVM_OPTIONS = %JVM_OPTIONS% -Dlog4j2.disable.jmx=true
69
- set JVM_OPTIONS = %JVM_OPTIONS% -Dlog4j.skipJansi=true
70
73
71
74
set JVM_CLASSPATH = %ES_LIB% \*
72
75
@@ -91,7 +94,8 @@ if exist "%ES_HOME%\jre\bin\client\jvm.dll" set JVM=%ES_HOME%\jre\bin\client\jvm
91
94
--JvmMs %JVM_MS% ^
92
95
--JvmMx %JVM_MX% ^
93
96
%JVM_OPTIONS: = ++JvmOptions % ^
94
- ++JvmOptions " -Des.path.home=%ES_HOME% "
97
+ ++JvmOptions " -Des.path.home=%ES_HOME% " ^
98
+ ++JvmOptions " -Des.path.conf=%ES_HOME% \config"
95
99
96
100
rem These settings are saved in the Windows Registry at:
97
101
rem
You can’t perform that action at this time.
0 commit comments