This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I installed the plug-in. I can create scala projects and scala objects. I am following the tutorial in Scala development with Eclipse. I enabled JDT Weaving. It is not compiling even if I deselect Build Automatically and click on Build Project.
Your help will be greatly appreciated,
Have you tried Setup Diagnostics in the Scala menu?
Then check your Project Properies, under Scala Compiler, check that the Use Project Properties box is unticked (so that you will use the global defaults).
Make sure you have your project set up as a Scala project rather than a Java one. If not, you can add a Scala Nature by right-clicking and selecting Configure...
I found the Eclipse error messages were not very useful. If your project doesn't compile, it tells you it had a problem loading your classes, rather than giving you the compiler error message.
Joined: Aug 01, 2005
Thanks for your help Luigi. It is a Scala project. The Use Project Properties box is unticked. I don't know how to setup Diagnostics in the Scala menu; I couldn't find a Scala menu. I still can't run it. This is my file: