https://kotlinlang.org logo
Title
m

Michael

08/22/2017, 2:39 PM
Hey folks! Trying to integrate kotlin in an existing maven project here. I did so just fine following the instructions on the website using maven/intellij - it’s building fine, and it’s running in the editor for me. But my teammates on eclipse aren’t having any luck (nor am I, if I fire it up in eclipse.) Added the Kotlin Plugin for Eclipse - but it seems that it’s not delegating to maven to actually run the compilation. Any suggestions?
v

voddan

08/22/2017, 2:46 PM
Very few use Eclipse to develop Kotlin, so unfortunately your fastest route to getting a reply is reporting it as a bug on the YouTrack
m

Michael

08/22/2017, 2:46 PM
Awh. Thanks !
e

Eugen Martynov

08/22/2017, 2:54 PM
There is also #eclipse channel
m

Michael

08/22/2017, 3:03 PM
Oh, thanks!
Actually just had success - this was not obvious. I moved to the Kotlin Perspective, removed the kotlin nature from my sources, went into properties and added
/kotlin
to the source paths by hand (it wasn’t using mavens?), then readded the kotlin nature. Now it builds. 😰
e

Eugen Martynov

08/22/2017, 4:02 PM
Make a blog post 🙂