Skip to content

Instantly share code, notes, and snippets.

@phroa
Created November 8, 2015 22:43
Show Gist options
  • Save phroa/6a2bcfb78d8163a4eebe to your computer and use it in GitHub Desktop.
Save phroa/6a2bcfb78d8163a4eebe to your computer and use it in GitHub Desktop.
jack@moist-towelette ~/Code/Sponge IRC Bridge $ ~/Downloads/kobalt-0.228/kobaltw --init [Nov. 8 @ 2:03 pm]
_ __ _ _ _
| |/ / ___ | |__ __ _ | | | |_
| ' / / _ \ | '_ \ / _` | | | | __|
| . \ | (_) | | |_) | | (_| | | | | |_
|_|\_\ \___/ |_.__/ \__,_| |_| \__| 0.208
Time to Build: 20 ms
BUILD SUCCESSFUL
*****
***** New Kobalt version available: 0.228
***** To update, run ./kobaltw --update
*****
jack@moist-towelette ~/Code/Sponge IRC Bridge $ ./kobaltw [Nov. 8 @ 2:03 pm]
__ __ __ __ __
/ //_/ ____ / /_ ____ _ / / / /_
/ ,< / __ \ / __ \ / __ `/ / / / __/
/ /| | / /_/ / / /_/ // /_/ / / / / /_
/_/ |_| \____/ /_.___/ \__,_/ /_/ \__/ 0.208
warning: classpath entry points to a non-existent location: <no_path>/lib/kotlin-runtime.jar
Build.kt:8:9: error: unresolved reference: project
val p = project {
^
Build.kt:10:5: error: unresolved reference: name
name = ""
^
Build.kt:11:5: error: unresolved reference: group
group = ""
^
Build.kt:12:5: error: unresolved reference: artifactId
artifactId = name
^
Build.kt:12:18: error: unresolved reference: name
artifactId = name
^
Build.kt:13:5: error: unresolved reference: version
version = ""
^
Build.kt:15:5: error: unresolved reference: sourceDirectories
sourceDirectories {
^
Build.kt:18:5: error: unresolved reference: sourceDirectoriesTest
sourceDirectoriesTest {
^
Build.kt:21:5: error: unresolved reference: dependencies
dependencies {
^
Build.kt:25:5: error: unresolved reference: dependenciesTest
dependenciesTest {
^
Build.kt:31:19: error: unresolved reference: assemble
val packProject = assemble(p) {
^
Build.kt:32:5: error: unresolved reference: jar
jar {
^
Exception in thread "main" java.io.FileNotFoundException: /home/jack/Code/Sponge IRC Bridge/.kobalt/build/buildScript.jar (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at com.beust.kobalt.kotlin.BuildFileCompiler.parseBuildScriptJarFile(BuildFileCompiler.kt:176)
at com.beust.kobalt.kotlin.BuildFileCompiler.access$parseBuildScriptJarFile(BuildFileCompiler.kt:27)
at com.beust.kobalt.kotlin.BuildFileCompiler.findProjects(BuildFileCompiler.kt:70)
at com.beust.kobalt.kotlin.BuildFileCompiler.compileBuildFiles(BuildFileCompiler.kt:42)
at com.beust.kobalt.Main.runWithArgs(Main.kt:118)
at com.beust.kobalt.Main.access$runWithArgs(Main.kt:43)
at com.beust.kobalt.Main$run$1.invoke(Main.kt:72)
at com.beust.kobalt.Main$run$1.invoke(Main.kt:43)
at com.beust.kobalt.misc.BenchmarksKt.benchmark(Benchmarks.kt:5)
at com.beust.kobalt.Main.run(Main.kt:69)
at com.beust.kobalt.MainKt.mainNoExit(Main.kt:40)
at com.beust.kobalt.MainKt.main(Main.kt:23)
^C% jack@moist-towelette ~/Code/Sponge IRC Bridge $ ls .kobalt [Nov. 8 @ 2:04 pm]
total 4.0K
drwxr-xr-x 2 jack 4.0K Nov 8 14:03 build/
jack@moist-towelette ~/Code/Sponge IRC Bridge $ ls .kobalt/build [Nov. 8 @ 2:08 pm]
total 4.0K
-rw-r--r-- 1 jack 1.1K Nov 8 14:03 preBuildScript.jar
jack@moist-towelette ~/Code/Sponge IRC Bridge $ [Nov. 8 @ 2:08 pm]
jack@moist-towelette ~/Code/Sponge IRC Bridge $ ./kobaltw --log 2 [Nov. 8 @ 2:42 pm]
"xception in thread "main" java.lang.NumberFormatException: For input string: "2
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at com.beust.kobalt.wrapper.Main.installAndLaunchMain(Main.java:40)
at com.beust.kobalt.wrapper.Main.main(Main.java:20)
jack@moist-towelette ~/Code/Sponge IRC Bridge $ ./kobaltw --log [Nov. 8 @ 2:42 pm]
Exception in thread "main" com.beust.jcommander.ParameterException: Expected a value after parameter --log
at com.beust.jcommander.JCommander.processFixedArity(JCommander.java:883)
at com.beust.jcommander.JCommander.processFixedArity(JCommander.java:857)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:725)
at com.beust.jcommander.JCommander.parse(JCommander.java:282)
at com.beust.jcommander.JCommander.parse(JCommander.java:265)
at com.beust.kobalt.MainKt.parseArgs(Main.kt:32)
at com.beust.kobalt.MainKt.mainNoExit(Main.kt:38)
at com.beust.kobalt.MainKt.main(Main.kt:23)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment