You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2018/03/04 11:07:49 UTC

svn commit: r1825804 - /jmeter/trunk/bin/jmeter.bat

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