Dependency Injection: GUICE replaced by custom code generation
Welcome to Kotlin! Some handy links:
To build this project, first time you try to build you need to run this:
ant -f update_dependencies.xml
which will setup the dependencies on
Then, you need to run
ant -f build.xml
which will build the binaries of the comppiler and put them into the ‘dist’ directory.
The root kotlin project already has an IDEA project, you can just open it in IDEA.
Note though that you need a recent IDEA build (e.g. 11 EAP) which should not contain the Kotlin plugin!
From this root project there are Run/Debug Configurations for running IDEA or the Compiler Tests for example; so if you want to try out the latest greatest IDEA plugin
In a recent IDEA 11 EAP build install the Kotlin plugin:
Preferences -> Plugins -> Browse Repositories -> Manage Repositories... -> + to add a new repository URL
You can now open any Kotlin based projects. Its advisable you don't open the root kotlin project as thats intended to be used to build the kotlin compiler and plugin itself; instead open the kotlin libraries project
The Kotlin compiler is currently all written in Java (we plan to port it to Kotlin later). So the easiest way to work on the compiler or IDEA plugin is
You can now run the various Run/Debug Configurations such as
When building the current maven plugin downloads the latest distro of Kotlin. If you want to use your own local build (done via ant dist) then try
cd libraries mvn -PlocalKotlin