-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Relates #11754 Co-authored-by: André Letterer <andre.letterer@web.de>
- Loading branch information
1 parent
d11d472
commit 556498e
Showing
4 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
rem @echo off | ||
setlocal enabledelayedexpansion | ||
|
||
cd /d "%~dp0.." | ||
for /f %%i in ('cd') do set RESULT=%%i | ||
echo !!RESULT!! | ||
|
||
java -cp "!!RESULT!!\tools\benchmark-cli\build\libs\benchmark-cli.jar;*" ^ | ||
org.logstash.benchmark.cli.Main %* | ||
|
||
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@echo off | ||
setlocal enabledelayedexpansion | ||
|
||
cd /d "%~dp0\.." | ||
for /f %%i in ('cd') do set RESULT=%%i | ||
|
||
java -cp "!!RESULT!!\tools\ingest-converter\build\libs\ingest-converter.jar;*" ^ | ||
org.logstash.ingest.Pipeline %* | ||
|
||
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@echo off | ||
setlocal enabledelayedexpansion | ||
|
||
call "%~dp0setup.bat" || exit /b 1 | ||
if errorlevel 1 ( | ||
if not defined nopauseonerror ( | ||
pause | ||
) | ||
exit /B %ERRORLEVEL% | ||
) | ||
|
||
|
||
set JAVA_OPTS=%LS_JAVA_OPTS% | ||
|
||
for %%i in ("%LS_HOME%\logstash-core\lib\jars\*.jar") do ( | ||
call :concat "%%i" | ||
) | ||
|
||
%JAVA% %JAVA_OPTS% -cp "%CLASSPATH%" org.logstash.ackedqueue.PqCheck %* | ||
|
||
:concat | ||
IF not defined CLASSPATH ( | ||
set CLASSPATH="%~1" | ||
) ELSE ( | ||
set CLASSPATH=%CLASSPATH%;"%~1" | ||
) | ||
goto :eof | ||
|
||
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@echo off | ||
setlocal enabledelayedexpansion | ||
|
||
call "%~dp0setup.bat" || exit /b 1 | ||
if errorlevel 1 ( | ||
if not defined nopauseonerror ( | ||
pause | ||
) | ||
exit /B %ERRORLEVEL% | ||
) | ||
|
||
|
||
set JAVA_OPTS=%LS_JAVA_OPTS% | ||
|
||
for %%i in ("%LS_HOME%\logstash-core\lib\jars\*.jar") do ( | ||
call :concat "%%i" | ||
) | ||
|
||
%JAVA% %JAVA_OPTS% -cp "%CLASSPATH%" org.logstash.ackedqueue.PqRepair %* | ||
|
||
:concat | ||
IF not defined CLASSPATH ( | ||
set CLASSPATH="%~1" | ||
) ELSE ( | ||
set CLASSPATH=%CLASSPATH%;"%~1" | ||
) | ||
goto :eof | ||
|
||
endlocal |