jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1825804 - /jmeter/trunk/bin/jmeter.bat
Date Sun, 04 Mar 2018 11:07:49 GMT
Author: fschumacher
Date: Sun Mar  4 11:07:49 2018
New Revision: 1825804

URL: http://svn.apache.org/viewvc?rev=1825804&view=rev
Log:
Enable starting of jmeter.bat with JM_START set to "start"

Correct documentation for usage of JM_START to start JMeter.
Add a title to 'start' when none was given, which can happen,
when following old documentation.

Bugzilla Id: 62107

Modified:
    jmeter/trunk/bin/jmeter.bat

Modified: jmeter/trunk/bin/jmeter.bat
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.bat?rev=1825804&r1=1825803&r2=1825804&view=diff
==============================================================================
--- jmeter/trunk/bin/jmeter.bat (original)
+++ jmeter/trunk/bin/jmeter.bat Sun Mar  4 11:07:49 2018
@@ -33,7 +33,7 @@ rem   JMETER_HOME - installation directo
 rem
 rem   JM_LAUNCH   - java.exe (default) or javaw.exe
 rem
-rem   JM_START    - set this to "start" to launch JMeter in a separate window
+rem   JM_START    - set this to 'start ""' to launch JMeter in a separate window
 rem                 this is used by the jmeterw.cmd script.
 rem
 rem   JVM_ARGS    - (Optional) Java options used when starting JMeter, e.g. -Dprop=val
@@ -192,6 +192,10 @@ if not defined JMETER_COMPLETE_ARGS (
     set ARGS=
 )
 
+if "%JM_START%" == "start" (
+    set JM_START=start "Apache JMeter"
+)
+
 %JM_START% "%JM_LAUNCH%" %ARGS% %JVM_ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
 
 rem If the errorlevel is not zero, then display it and pause



Mime
View raw message