You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2003/06/21 12:39:52 UTC

DO NOT REPLY [Bug 20984] New: - [patch] check/define JMETER_HOME in jmeter-server.bat

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20984>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20984

[patch] check/define JMETER_HOME in jmeter-server.bat

           Summary: [patch] check/define JMETER_HOME in jmeter-server.bat
           Product: JMeter
           Version: 1.9.RC2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: tjsb@slb.com


jmeter-server.bat requires JMETER_HOME to be set, but does not check or define 
it.

The following patch checks that it can find ApacheJMeter_core.jar in the 
directory %JMETER_HOME%\lib\ext; if not, it tries first .. and then . before 
reporting an error and giving up.

The patch also moves the position of the SETLOCAL command to the start of the 
batch file, so that changes to JMETER_HOME and CLASSPATH don't affect the 
calling environment.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org