This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 6fefb72  use %IOTDB_HOME%\lib\* to refers to all .jar files in the 
directory (#390)
6fefb72 is described below

commit 6fefb7226eff80780e936d1ca0f2d36782b262d5
Author: Lei Rui <[email protected]>
AuthorDate: Sat Sep 14 23:14:21 2019 +0800

    use %IOTDB_HOME%\lib\* to refers to all .jar files in the directory (#390)
---
 server/src/assembly/resources/sbin/start-server.bat | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/src/assembly/resources/sbin/start-server.bat 
b/server/src/assembly/resources/sbin/start-server.bat
index 2bbabd5..05f15fb 100755
--- a/server/src/assembly/resources/sbin/start-server.bat
+++ b/server/src/assembly/resources/sbin/start-server.bat
@@ -46,7 +46,7 @@ IF NOT %JAVA_VERSION% == 8 (
                echo IoTDB only supports jdk8 or jdk11, please check your java 
version.
                goto finally
        )
-) 
+)
 
 if "%OS%" == "Windows_NT" setlocal
 
@@ -79,7 +79,7 @@ set JAVA_OPTS=-ea^
 set CLASSPATH="%IOTDB_HOME%\lib"
 
 @REM For each jar in the IOTDB_HOME lib directory call append to build the 
CLASSPATH variable.
-for %%i in ("%IOTDB_HOME%\lib\*.jar") do call :append "%%i"
+set CLASSPATH=%CLASSPATH%;"%IOTDB_HOME%\lib\*"
 set CLASSPATH=%CLASSPATH%;iotdb.IoTDB
 goto okClasspath
 
@@ -105,4 +105,4 @@ pause
 
 pause
 
-ENDLOCAL
+ENDLOCAL
\ No newline at end of file

Reply via email to