You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

elasticsearch-cli.bat 640B

12345678910111213141516171819202122232425
  1. call "%~dp0elasticsearch-env.bat" || exit /b 1
  2. if defined ES_ADDITIONAL_SOURCES (
  3. for %%a in ("%ES_ADDITIONAL_SOURCES:;=","%") do (
  4. call "%~dp0%%a"
  5. )
  6. )
  7. if defined ES_ADDITIONAL_CLASSPATH_DIRECTORIES (
  8. for %%a in ("%ES_ADDITIONAL_CLASSPATH_DIRECTORIES:;=","%") do (
  9. set ES_CLASSPATH=!ES_CLASSPATH!;!ES_HOME!/%%a/*
  10. )
  11. )
  12. %JAVA% ^
  13. %ES_JAVA_OPTS% ^
  14. -Des.path.home="%ES_HOME%" ^
  15. -Des.path.conf="%ES_PATH_CONF%" ^
  16. -Des.distribution.flavor="%ES_DISTRIBUTION_FLAVOR%" ^
  17. -Des.distribution.type="%ES_DISTRIBUTION_TYPE%" ^
  18. -cp "%ES_CLASSPATH%" ^
  19. "%ES_MAIN_CLASS%" ^
  20. %*
  21. exit /b %ERRORLEVEL%