ASF Bugzilla – Attachment 19433 Details for
Bug 41414
JMeter on Mac OS X (jmeter directory not found)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix to start on Mac OS X
macosx-classpath.patch (text/plain), 639 bytes, created by
Holger Isenberg
on 2007-01-19 08:32:16 UTC
(
hide
)
Description:
fix to start on Mac OS X
Filename:
MIME Type:
Creator:
Holger Isenberg
Created:
2007-01-19 08:32:16 UTC
Size:
639 bytes
patch
obsolete
>Index: src/core/org/apache/jmeter/NewDriver.java >=================================================================== >--- src/core/org/apache/jmeter/NewDriver.java (revision 497856) >+++ src/core/org/apache/jmeter/NewDriver.java (working copy) >@@ -47,7 +47,7 @@ > > // Find JMeter home dir > StringTokenizer tok = new StringTokenizer(cp, File.pathSeparator); >- if (tok.countTokens() == 1) { >+ if (tok.countTokens() == 1 || System.getProperty("os.name").toLowerCase().startsWith("mac os x") && tok.countTokens() == 2) { > File jar = new File(tok.nextToken()); > try { > jmDir = jar.getCanonicalFile().getParentFile().getParent();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41414
: 19433