jlleitschuh
09/01/2017, 3:54 PMbamboo
09/01/2017, 4:31 PMbamboo
09/01/2017, 4:32 PMjlleitschuh
09/01/2017, 4:34 PMbamboo
09/01/2017, 4:34 PMbamboo
09/01/2017, 4:35 PMbamboo
09/01/2017, 4:36 PMjlleitschuh
09/01/2017, 4:36 PMbamboo
09/01/2017, 4:36 PMbamboo
09/01/2017, 4:37 PMjlleitschuh
09/01/2017, 4:37 PMbamboo
09/01/2017, 4:37 PMjlleitschuh
09/01/2017, 4:40 PMjlleitschuh
09/01/2017, 4:41 PMbamboo
09/01/2017, 4:47 PMjlleitschuh
09/01/2017, 4:49 PMbamboo
09/01/2017, 4:49 PMbamboo
09/01/2017, 4:49 PMbamboo
09/01/2017, 4:53 PMjlleitschuh
09/01/2017, 4:53 PMbamboo
09/04/2017, 1:03 PMbamboo
09/05/2017, 1:51 PMbamboo
09/05/2017, 1:52 PMbamboo
09/05/2017, 1:53 PMcompiler
subprojectbamboo
09/05/2017, 1:53 PMapplication
plugin)jlleitschuh
09/05/2017, 1:53 PMbamboo
09/05/2017, 1:54 PMscript
?bamboo
09/05/2017, 1:54 PMjlleitschuh
09/05/2017, 1:55 PMjlleitschuh
09/05/2017, 1:56 PMjlleitschuh
09/05/2017, 1:58 PMbamboo
09/05/2017, 1:59 PMbamboo
09/05/2017, 1:59 PMjlleitschuh
09/05/2017, 1:59 PMjlleitschuh
09/05/2017, 2:00 PMjlleitschuh
09/06/2017, 11:22 PMjlleitschuh
09/07/2017, 3:17 AMjlleitschuh
09/07/2017, 3:18 AMException in thread "main" java.lang.RuntimeException: Primary constructor not found for script template class BuildScript (not found)
at org.jetbrains.kotlin.codegen.ScriptCodegen.genConstructor(ScriptCodegen.java:157)
at org.jetbrains.kotlin.codegen.ScriptCodegen.generateBody(ScriptCodegen.java:103)
at org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:145)
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateFile(PackageCodegenImpl.java:120)
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generate(PackageCodegenImpl.java:66)
at org.jetbrains.kotlin.codegen.KotlinCodegenFacade.generatePackage(KotlinCodegenFacade.java:99)
at org.jetbrains.kotlin.codegen.KotlinCodegenFacade.doGenerateFiles(KotlinCodegenFacade.java:77)
at org.jetbrains.kotlin.codegen.KotlinCodegenFacade.compileCorrectFiles(KotlinCodegenFacade.java:44)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.generate(KotlinToJVMBytecodeCompiler.kt:442)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.analyzeAndGenerate(KotlinToJVMBytecodeCompiler.kt:359)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileScript(KotlinToJVMBytecodeCompiler.kt:331)
at compiler.KotlinCompilerKt.compileKotlinScriptToDirectory(KotlinCompiler.kt:49)
at compiler.Main.main(Main.kt:44)
jlleitschuh
09/07/2017, 3:27 AMjlleitschuh
09/07/2017, 3:37 AMjlleitschuh
09/07/2017, 2:14 PMjavaClass.classLoader
no longer returns a URLClassLoader
so that cast fails.jlleitschuh
09/07/2017, 2:15 PMprivate
val classPath: List<File>
get() {
println("Getting Classpath")
val classPath = listOf(
api.Action::class,
kotlin.PublishedApi::class,
kotlin.reflect.KClass::class,
Resolver::class
).map {
it.java.protectionDomain.codeSource.location.toURI()
}.map {
File(it)
} + PathUtil.getJdkClassesRootsFromCurrentJre()
println("Got classpath: $classPath")
return classPath
}
jlleitschuh
09/07/2017, 2:41 PMbamboo
09/11/2017, 1:01 PMPathUtil.getJdkClassesRootsFromCurrentJre()
is not neededbamboo
09/11/2017, 1:02 PMbamboo
09/11/2017, 1:02 PMjlleitschuh
09/11/2017, 1:05 PMbamboo
09/11/2017, 4:39 PMjlleitschuh
09/12/2017, 2:00 PMbamboo
09/12/2017, 4:55 PM