2010-05-03 03:49:50 -04:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
SETLOCAL
|
|
|
|
|
|
|
|
if NOT DEFINED JAVA_HOME goto err
|
|
|
|
|
|
|
|
set SCRIPT_DIR=%~dp0
|
|
|
|
for %%I in ("%SCRIPT_DIR%..") do set ES_HOME=%%~dpfI
|
|
|
|
|
2014-07-06 05:30:11 -04:00
|
|
|
TITLE Elasticsearch Plugin Manager ${project.version}
|
2010-05-03 03:49:50 -04:00
|
|
|
|
2014-10-30 07:32:53 -04:00
|
|
|
"%JAVA_HOME%\bin\java" %JAVA_OPTS% %ES_JAVA_OPTS% -Xmx64m -Xms16m -Des.path.home="%ES_HOME%" -cp "%ES_HOME%/lib/*;" "org.elasticsearch.plugins.PluginManager" %*
|
2010-05-03 03:49:50 -04:00
|
|
|
goto finally
|
|
|
|
|
|
|
|
|
|
|
|
:err
|
|
|
|
echo JAVA_HOME environment variable must be set!
|
|
|
|
pause
|
|
|
|
|
|
|
|
|
|
|
|
:finally
|
|
|
|
|
2012-01-04 11:10:37 -05:00
|
|
|
ENDLOCAL
|