https://kotlinlang.org logo
#kobalt
Title
o

oshai

01/21/2022, 2:07 PM
@cedric I have a few questions, while trying to compile/test kobalt: • I am running
./kobaltw clean compile test --sequential
and some tests fails / fails to configure. Is there any setup I should do before? • Is there any reason the repo contains src and modules? it seems modules/kobalt just points the src dir? • The repo contains both gradle/maven/kobalt configuration. which is the recommended one to use? I guess kobalt is the most recent one? Mostly for the sake of running tests in intellij.
I have only 3 tests failing left. here is one stacktrace:
Copy code
FAILED: shouldCompileWithExternalKotlin
java.lang.AssertionError:
Expecting file:
  </var/folders/f9/c2brg7yx24gftgpb49rpf3jw00p91s/T/kobalt-test362723532525900689/kobaltBuild/libs/p1463650269-1.0.jar>
to exist.
        at com.beust.kobalt.internal.KotlinCompilerVersionTest.shouldCompileWithExternalKotlin(KotlinCompilerVersionTest.kt:38)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
        at org.testng.internal.Invoker.invokeMethod(Invoker.java:669)
        at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:877)
        at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1201)
        at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
        at org.testng.TestRunner.privateRun(TestRunner.java:776)
        at org.testng.TestRunner.run(TestRunner.java:634)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:425)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:420)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:385)
        at org.testng.SuiteRunner.run(SuiteRunner.java:334)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1318)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1243)
        at org.testng.TestNG.runSuites(TestNG.java:1161)
        at org.testng.TestNG.run(TestNG.java:1129)
        at org.testng.TestNG.privateMain(TestNG.java:1459)
        at org.testng.TestNG.main(TestNG.java:1428)
8 Views