File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
utbot-spring-analyzer/src/main/kotlin/org/utbot/spring/process Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,12 @@ class SpringAnalyzerProcess private constructor(
71
71
72
72
fun createBlocking (classpath : List <String >) = runBlocking { SpringAnalyzerProcess (classpath) }
73
73
74
- suspend operator fun invoke (classpath : List <String >): SpringAnalyzerProcess = LifetimeDefinition ().terminateOnException { lifetime ->
74
+ suspend operator fun invoke (classpathItems : List <String >): SpringAnalyzerProcess = LifetimeDefinition ().terminateOnException { lifetime ->
75
+ val extendedClasspath = listOf (springAnalyzerJarFile.path) + classpathItems
75
76
val rdProcess = startUtProcessWithRdServer(lifetime) { port ->
76
77
classpathArgs = listOf (
77
78
" -cp" ,
78
- " \" ${( listOf (springAnalyzerJarFile.path) + classpath) .joinToString(File .pathSeparator)} \" " ,
79
+ " \" ${extendedClasspath .joinToString(File .pathSeparator)} \" " ,
79
80
" org.utbot.spring.process.SpringAnalyzerProcessMainKt"
80
81
)
81
82
val cmd = obtainProcessCommandLine(port)
You can’t perform that action at this time.
0 commit comments