This commit is contained in:
rick.parker 2017-11-20 17:52:15 +00:00
parent 4d19a594d6
commit f382639ed8
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ task(runServer, dependsOn: 'classes', type: JavaExec) {
def file = new File("$rootDir/build/search_paths.txt") def file = new File("$rootDir/build/search_paths.txt")
file.createNewFile() file.createNewFile()
file.text = "${project(':tools:jmeter').configurations.runtime.files.join(";")}" file.text = "${project(':tools:jmeter').configurations.runtime.files.join(";")}"
systemProperty "search_paths_file", file.toString() systemProperty "java.rmi.server.hostname", "0.0.0.0" systemProperty "search_paths_file", file.toString()
systemProperty "java.rmi.server.hostname", "0.0.0.0"
systemProperty "jmeter.home", sourceSets.main.resources.getSrcDirs().first().getPath() systemProperty "jmeter.home", sourceSets.main.resources.getSrcDirs().first().getPath()
// If you want to debug: jvmArgs += "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005" // If you want to debug: jvmArgs += "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
args+= [ "-p", sourceSets.main.resources.getSrcDirs().first().getPath()+"/jmeter.properties", args+= [ "-p", sourceSets.main.resources.getSrcDirs().first().getPath()+"/jmeter.properties",