mirror of
https://github.com/corda/corda.git
synced 2025-04-07 19:34:41 +00:00
Driver now correctly resolves quasar path on Windows.
This commit is contained in:
parent
9d9164980e
commit
5d68210355
@ -196,8 +196,8 @@ class DriverDSL(
|
||||
val cl = ClassLoader.getSystemClassLoader()
|
||||
val urls = (cl as URLClassLoader).urLs
|
||||
val quasarPattern = ".*quasar.*\\.jar$".toRegex()
|
||||
val quasarPath = urls.map { it.path }.first { quasarPattern.matches(it) }
|
||||
quasarPath
|
||||
val quasarPath = urls.first { quasarPattern.matches(it.path) }
|
||||
Paths.get(quasarPath.toURI()).toString()
|
||||
}
|
||||
|
||||
val driverNodeConfiguration = NodeConfigurationFromConfig(
|
||||
|
Loading…
x
Reference in New Issue
Block a user