From ca2267f87fcc14c747c98aa42bc4e41006eec297 Mon Sep 17 00:00:00 2001 From: Rick Parker Date: Thu, 23 Nov 2017 17:19:30 +0000 Subject: [PATCH] Tidy up (#128) --- tools/jmeter/src/main/kotlin/com/r3/corda/jmeter/Launcher.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/jmeter/src/main/kotlin/com/r3/corda/jmeter/Launcher.kt b/tools/jmeter/src/main/kotlin/com/r3/corda/jmeter/Launcher.kt index b11d1d9f0d..59e9ce5d92 100644 --- a/tools/jmeter/src/main/kotlin/com/r3/corda/jmeter/Launcher.kt +++ b/tools/jmeter/src/main/kotlin/com/r3/corda/jmeter/Launcher.kt @@ -51,6 +51,9 @@ class Launcher { } jmeter.start(arrayOf("-s", "-p", (capsuleDirPath / "jmeter.properties").toString()) + extraArgs + args) } else { + val searchPath = Files.readAllLines(Paths.get(System.getProperty("search_paths_file"))).first() + logger.info("search_paths = $searchPath") + System.setProperty("search_paths", searchPath) jmeter.start(maybeOpenSshTunnels(args)) } }