diff --git a/contributing/index.html b/contributing/index.html index 0f8e336..ca06646 100644 --- a/contributing/index.html +++ b/contributing/index.html @@ -37,7 +37,7 @@
Kobalt is licensed under Apache 2.0
@@ -53,8 +53,33 @@kobalt-dev
, the mailing-list for Kobalt developers. This mailing-list is for people interested in writing code for Kobalt, either the core, or writing plug-ins, or just to follow various technical discussions about Kobalt's internals.Here is how to configure your development environment.
++ Working on the Kobalt code base with Intellij IDEA is very easy. +
+
+ First of all, edit the file src/main/resources/kobalt.properties
and set it
+ to a nonexistent version. For example, if the current version is 0.399
,
+ set it to 0.400
.
+
+ kobalt.version=0.400 ++
+ When you launch Kobalt from IDEA with a nonexistent version, Kobalt will show a message saying + that it couldn't locate that version and instead, it will use the classes generated by IDEA. This + way, you will always be running the files that you just modified with IDEA. On start up, + Kobalt will display a message looking like: +
++Couldn't find .../kobalt-0.400.jar, using ... ++
+ Note that at the moment, Kobalt expects to be located in $HOME/kotlin/kobalt
.
+
Next, create a launch configuration in IDEA.
Kobalt's main class is com.beust.kobalt.MainKt
. Here is a typical launch configuration: