Compilation of intellij-community fails

Hi guys,

this may be some misconfiguration on my side, but after pulling the sources of intellij-community from origin/master, compilation of IDEA failed with:
cannot find symbol import com.intellij.openapi.components.ComponentsPackage;

I actually can not find it in the sources. Even the online sources tool highlight the import as problematic:
https://upsource.jetbrains.com/idea-community/file/092e76089b21d87dc24f6beb8b506ac79798ba2f/platform%2Fplatform-impl%2Fsrc%2Fcom%2Fintellij%2Fopenapi%2FfileEditor%2Fimpl%2FNonProjectFileWritingAccessProvider.java


Somebody hit this error?

4 comments
Comment actions Permalink

Looks like you don't have the Kotlin plugin installed. IntelliJ IDEA Community Edition now contains code written in Kotlin, so you need to install the plugin.

0
Comment actions Permalink

Thanks Dmitry.

Actually the problem was that I was trying to build the main branch sources with IDEA 14, which doesn't have Kotlin plugin.
I'm now checking out the branch 141 (hope that this is the IDEA 14.1 branch)

Ivaylo

0
Comment actions Permalink

Yes, 141 is the 14.1 branch. It has no production code written in Kotlin.

0

Please sign in to leave a comment.