From d01e119c1238445617e62651157615f25c0c583d Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 17 Dec 2015 00:52:40 +0400 Subject: [PATCH] Fix path for client. --- src/main/kotlin/com/beust/kobalt/app/remote/KobaltClient.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/beust/kobalt/app/remote/KobaltClient.kt b/src/main/kotlin/com/beust/kobalt/app/remote/KobaltClient.kt index 433c312c..b2071f12 100644 --- a/src/main/kotlin/com/beust/kobalt/app/remote/KobaltClient.kt +++ b/src/main/kotlin/com/beust/kobalt/app/remote/KobaltClient.kt @@ -25,9 +25,9 @@ public class KobaltClient @Inject constructor() : Runnable { try { val socket = Socket("localhost", portNumber) outgoing = PrintWriter(socket.outputStream, true) - val testBuildfile = Paths.get(SystemProperties.homeDir, "java", "testng", "Build.kt") + val testBuildfile = Paths.get(SystemProperties.homeDir, "kotlin", "kobalt", "kobalt/src/Build.kt") .toFile().absolutePath - val c : String = "{ \"name\":\"GetDependencies\", \"buildFile\": \"$testBuildfile\"}" + val c : String = "{ \"name\":\"getDependencies\", \"buildFile\": \"$testBuildfile\"}" outgoing!!.println(c) val ins = BufferedReader(InputStreamReader(socket.inputStream)) var line = ins.readLine()