From b471c1eb2be76c810f63d40f5bcdff131669b52e Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 7 Jul 2016 02:30:46 -0800 Subject: [PATCH] Better error message. --- .../src/main/kotlin/com/beust/kobalt/internal/JvmCompiler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/JvmCompiler.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/JvmCompiler.kt index ba330537..cb614c94 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/JvmCompiler.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/JvmCompiler.kt @@ -50,7 +50,7 @@ class JvmCompiler @Inject constructor(val dependencyManager: DependencyManager) private fun validateClasspath(cp: List) { cp.forEach { if (! File(it).exists()) { - throw KobaltException("Couldn't find $it") + throw KobaltException("Invalid classpath: couldn't find $it") } } }