Checkout and build community edition

Hi, everyone!

I am new to the Intellij and it's excited for me to make my first plugin!

But when I followed the tutorial for setting up environment, I got stuck......
http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/setting_up_environment.html

I tried to checkout and build community edition, but when I make project, some errors show up......just like the following picture(screen shot)
Q1.png
The error show that it cannot find symbol of the method such as getSortedInfos(), markUnsorted(),......
So, I start trace these methods and found they are from InjectedSelfElementInfo.java.
Sadly, after I double clicked the file to read the content, it show more and more read lines on the scroll bar QQQQQQ

Like the picture below......
Q2.png

Please let me know if I haven't offered enough infomation to this question!

Thank you very much ><

5 comments
Comment actions Permalink

Which version of the code are you trying to compile? The latest code in the 'master' branch looks different from the code in your sceenshots.

0
Comment actions Permalink

Sorry, I don't actually know which version I have, but I just pull again from the "git://git.jetbrains.org/idea/community.git" in master branch.

So I think it is the newest version @@! But I still got some errors after I try to make project.

Thank you!
Q3.png

0
Comment actions Permalink

I follow the step on github https://github.com/JetBrains/intellij-community and checkout the version on it.

One of the step is,

  • Configure a JSDK named "IDEA jdk" (case sensitive), pointing to an installation of JDK 1.6.


My jdk is 1.8, so I point "IDEA jdk" to JDK1.8. Is it fine? (Since in official tutorial, it use JDK1.8, too. http://www.jetbrains.org/intellij/sdk/docs/basics/checkout_and_build_community.html)

Unfortunately, I still get an error that is "Error: java: java.lang.AssertionError: isSubClass Self".....QQ

Is that means I should use JDK1.6????

Q3.png

0
Comment actions Permalink

I faced the same issue with javac 1.8.0_31.  The problem is fixed with javac 1.8.0_65.  Hope this helps.

0
Comment actions Permalink

Thx!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! : )

0

Please sign in to leave a comment.