Hi all: i tried looking at the Scala plugin for Eclipse issue after it came up in the IRC discussion recently.
<nik_m> do u guys came across any, scala plugin for eclipse, problem ? First some background, Errors are seen by many users, who have installed Eclipse and then they try to create Scala project. The error would look somewhat like this http://picasaweb.google.com/twincling/Screenshots#5345871163809145026 Canonical reference http://lampsvn.epfl.ch/trac/scala/ticket/1933 http://www.scala-lang.org/node/1593 Version Eclipse 3.4.2 Ganymede Cause Most users have a read-only installation of Eclipse 3.4.2 Solution 1. un-install/remove the current installation 2. rm -rf ./.eclipse 3. cd $HOME VERY IMPORTANT ! (or any other location where you have write privileges) 3. tar zxvf eclipse-SDK-3.4.2-linux-gtk.tar.gz 4. start eclipse 5. Goto HELP --> Software Update --> [Available Software] 6. Add the URL http://www.scala-lang.org/scala-eclipse-plugin 7. To get an idea how the screen looks like, please see http://picasaweb.google.com/twincling/Screenshots#5345726642891510018 8. After the Scala plugin entry shows up, click [Install] 9. Re-start Eclipse 10. Goto Windows --> Preferences --> JDT weaving Ensure that the message above the button says 'JDT weaving is currently ENABLED' 11. If everything seems fine, the goto File --> New --> Scala application 12. Write the following code object application { def main(args:Array[String]) { for (arg <- args) { println(arg) } println("") } } 13. Define a run configuration and specify some command line params eg. one two three and then run the application. 14. The application should run without any issues and print the various arguments each on a line by itself. NOTES . The issue comes up due to read-only installation of Eclipse. Eclipse 3.5+ would have a bug fix for this scenario . The nice thing with this approach is that you get the latest stable Scala 2.7.5 final installed . This configuration is working fine with the various Scala project options. . My environment is Gentoo 2008.0 r1 Sun JDK 1.6.0.06 Scala 2.7.5 (Eclipse) Scala 2.8.0.r17661-b20090507125707 (SVN) . Run eclipse from the command line as eclipse -vm `java-config --java` While i 'vi'll, hope this helps the Eclipser's get going with the Scala sojourn. thanks Saifi.

