thanks for the help! sbt/sbt gen-idea works perfectly in RHEL6, but it doesn't work in my cygwin (which is the machine I run IntelliJ Idea ..)
It reports: $ sbt/sbt gen-idea Error: Unable to access jarfile /home/Dachuan/incubator-spark/sbt/sbt-launch-0.11.3-2.jar and sbt/sbt assembly, sbt/sbt update gen-idea reports the same error. And I have copied the .idea/ and .idea_modules/ folders into my cygwin machine, it still cannot resolve the SparkEnv symbol On Sun, Oct 27, 2013 at 11:37 PM, Josh Rosen <rosenvi...@gmail.com> wrote: > You don't have to install the sbt-idea plugin to generate the .idea file > (although it can be useful for building Spark once you've imported the > .idea project). > > Instead, you can use the version of SBT that's bundled with Spark: > > cd $SPARK_HOME; sbt/sbt update gen-idea. > > This is also documented on > https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark > > > On Sun, Oct 27, 2013 at 8:44 PM, Nan Zhu <zhunanmcg...@gmail.com> wrote: > > > for generating idea file > > > > you may need this plugin for sbt > > > > https://github.com/mpeltonen/sbt-idea > > > > -- > > Nan Zhu > > School of Computer Science, > > McGill University > > > > > > > > > > On Sunday, October 27, 2013 at 11:32 PM, Reynold Xin wrote: > > > > > Just generate the IntelliJ project file using > > > > > > sbt/sbt gen-idea > > > > > > And then open the folder in IntelliJ (no need to import anything). > > > > > > > > > > > > On Sun, Oct 27, 2013 at 8:31 PM, dachuan <hdc1...@gmail.com (mailto: > > hdc1...@gmail.com)> wrote: > > > > > > > Hi, all, > > > > > > > > Could anybody help me set up the dev IDE for spark in IntelliJ idea > > IDE? > > > > > > > > I have already installed the scala plugin, and imported the > > > > incubator-spark/ project. The syntax highlight works for now. > > > > > > > > The problem is: It can not resolve symbol such as SparkEnv, which is > > > > internal object for spark. > > > > > > > > I count on this for jumping, otherwise I can simply use Vim. > > > > > > > > And I am pretty new to maven, embarrassing to say. > > > > > > > > thanks, > > > > dachuan. > > > > > > > > -- > > > > Dachuan Huang > > > > Cellphone: 614-390-7234 > > > > 2015 Neil Avenue > > > > Ohio State University > > > > Columbus, Ohio > > > > U.S.A. > > > > 43210 > > > > > > > > > > > > > > > > > > > > -- Dachuan Huang Cellphone: 614-390-7234 2015 Neil Avenue Ohio State University Columbus, Ohio U.S.A. 43210