-
Notifications
You must be signed in to change notification settings - Fork 8
/
start-client.bat
46 lines (32 loc) · 1.36 KB
/
start-client.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@echo off
rem ###########################################################################
rem # Sun Public License
rem #
rem # The contents of this file are subject to the Sun Public License Version
rem # 1.0 (the "License"). You may not use this file except in compliance with
rem # the License. A copy of the License is available at http://www.sun.com/
rem #
rem # The Original Code is the SLAMD Distributed Load Generation Engine.
rem # The Initial Developer of the Original Code is Neil A. Wilson.
rem # Portions created by Neil A. Wilson are Copyright (C) 2004-2019.
rem # Some preexisting portions Copyright (C) 2002-2006 Sun Microsystems, Inc.
rem # All Rights Reserved.
rem #
rem # Contributor(s): Neil A. Wilson
rem ###########################################################################
rem Specify the arguments that should be provided to the JVM when running this
rem tool.
set JVM_ARGS=-server -Xms512m -Xmx512m
rem
rem You should not need to edit anything below this point.
rem
rem Get the directory containing this batch file.
set BATDIR=%~dp0
rem Prepare the Java environment.
call "%BATDIR%tools\set-java-home.bat"
if not %JAVA_HOME_ERROR% == 0 exit /B %JAVA_HOME_ERROR%
rem Invoke the tool.
set TOOL_CLASS=com.slamd.tools.CommandLineClient
"%JAVA_CMD%" %JVM_ARGS% %TOOL_CLASS% -f slamd-client.conf -c classes %*
goto end
:end