Skip to content

Commit

Permalink
fixed issue #140 , windows nid
Browse files Browse the repository at this point in the history
  • Loading branch information
agapple committed May 10, 2016
1 parent ba2efd0 commit b138c18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/deployer/src/main/bin/startup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if "%OS%" == "Windows_NT" set ENV_PATH=%~dp0%

set conf_dir=%ENV_PATH%\..\conf
set nid_file=%conf_dir%\nid
set /p nid=<%nid_file%
set /p nid=<"%nid_file%"
set otter_conf=%conf_dir%\otter.properties
set logback_configurationFile=%conf_dir%\logback.xml

Expand All @@ -24,4 +24,4 @@ set JAVA_OPTS= %JAVA_MEM_OPTS% %JAVA_OPTS_EXT% %JAVA_DEBUG_OPT% %OTTER_OPTS%
set CMD_STR= java %JAVA_OPTS% -classpath "%CLASSPATH%" com.alibaba.otter.node.deployer.OtterLauncher
echo start cmd : %CMD_STR%

java %JAVA_OPTS% -classpath "%CLASSPATH%" com.alibaba.otter.node.deployer.OtterLauncher
java %JAVA_OPTS% -classpath "%CLASSPATH%" com.alibaba.otter.node.deployer.OtterLauncher

0 comments on commit b138c18

Please sign in to comment.