This page is no longer maintained — Please continue to the home page at www.scala-lang.org

eclipse plugin on Galileo OSX

4 replies
Niels Wolf
Joined: 2009-08-27,
User offline. Last seen 42 years 45 weeks ago.

Hey.

I have the Scala plugin 2.7.5.final installed on my Eclipse Galileo
on OSX 10.5.7. I can run the application but the syntax checker goes
total berserk. I followed the guide from here:

http://www.scala-lang.org/node/94

But the plugin throws many errors and actually says it could not
compile the file due to exisiting errors. The file compiles fine
though. But still pretty much every word and operator is red.
I'll post my plugins and error thrown as followed.. may be someone can
help me out? Would be nice to have the plugin running... thanks so
much in advance

Error:
Syntax error on token "println", AnnotationName
expected TestScala.scala /TestScala/src/test line 5 Java Problem
Syntax error on tokens, ClassHeaderName expected
instead TestScala.scala /TestScala/src/test line 1 Java Problem
Syntax error, insert "EnumBody" to complete
ClassBodyDeclarations TestScala.scala /TestScala/src/test line 5 Java
Problem
Syntax error, insert "enum Identifier" to complete
EnumHeader TestScala.scala /TestScala/src/test line 5 Java Problem

Plugins (I also tried with groovy deinstalled, since aspectj wouldnt
wouldnt work neither):
AVR Eclipse Plugin 2.3.1.20081204PRD de.innot.avreclipse.feature.group
CDT Debugger Services Framework (DSF)
Examples 2.0.0.200906161748
org.eclipse.cdt.examples.dsf.feature.group
CDT GCC Cross Compiler
Support 1.0.0.200906161748 org.eclipse.cdt.build.crossgcc.feature.group
CDT GNU Toolchain Build
Support 6.0.0.200906161748 org.eclipse.cdt.gnu.build.feature.group
CDT GNU Toolchain Debug
Support 6.0.0.200906161748 org.eclipse.cdt.gnu.debug.feature.group
CDT Utilities 5.1.0.200906161748 org.eclipse.cdt.util.feature.group
Eclipse C/C++ Development
Platform 6.0.0.200906161748 org.eclipse.cdt.platform.feature.group
Eclipse C/C++ Development
Tools 6.0.0.200906161748 org.eclipse.cdt.feature.group
Eclipse C/C++ Development Tools
SDK 6.0.0.200906161748 org.eclipse.cdt.sdk.feature.group
Eclipse C/C++ DSF gdb Debugger
Integration 2.0.0.200906161748 org.eclipse.cdt.gnu.dsf.feature.group
Eclipse C/C++ GDB Hardware
Debugging 5.1.0.200906161748
org.eclipse.cdt.debug.gdbjtag.feature.group
Eclipse C/C++ Memory View
Enhancements 1.2.0.200906161748
org.eclipse.cdt.debug.ui.memory.feature.group
Eclipse C/C++ Remote
Launch 6.0.0.200906161748 org.eclipse.cdt.launch.remote.feature.group
Eclipse CDT p2 Toolchain
Installer 1.0.0.200906161748 org.eclipse.cdt.p2.feature.group
Eclipse CDT Testing
Feature 6.0.0.200906161748 org.eclipse.cdt.testing.feature.group
Eclipse IDE for Java Developers 1.2.0.20090619-0620 epp.package.java
Eclipse Plug-in Development
Environment 3.5.0.v20090123-7Z7_F8NFE-z0VXhWiu-8Qb95
org.eclipse.pde.feature.group
Groovy-Eclipse
Feature 2.0.0.20090815-2100-e35
org.codehaus.groovy.eclipse.feature.feature.group
JDT Core patch for Groovy-Eclipse
plugin 2.0.0.20090815-2100-e35 org.codehaus.groovy.jdt.patch.feature.group
LR Parser 5.1.0.200906161748
org.eclipse.cdt.core.lrparser.feature.feature.group
LR Parser SDK
Feature 5.1.0.200906161748 org.eclipse.cdt.core.lrparser.sdk.feature.group
Lua Development
Tool 1.2.0.200802220021 org.keplerproject.ldt.feature.feature.group
LuaProfiler Support for
LuaEclipse 1.0.0.200802220021
org.keplerproject.ldt.luaprofiler.feature.feature.group
Mylyn Bridge: C/C++
Development 5.1.0.200906161748 org.eclipse.cdt.mylyn.feature.group
PyDev for Eclipse 1.4.8.2881 org.python.pydev.feature.feature.group
Scala Eclipse Plugin 2.7.5.final ch.epfl.lamp.sdt.feature.group
Unified Parallel C
Support 5.1.0.200906161748
org.eclipse.cdt.core.parser.upc.feature.feature.group
Unified Parallel C Support SDK
Feature 5.1.0.200906161748
org.eclipse.cdt.core.parser.upc.sdk.feature.group
XL C/C++ Compiler
Support 6.0.0.200906161748 org.eclipse.cdt.xlc.feature.feature.group
XL C/C++ Compiler Support
SDK 6.0.0.200906161748 org.eclipse.cdt.xlc.sdk.feature.group

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: eclipse plugin on Galileo OSX

On Thu, Aug 27, 2009 at 1:43 PM, Niels Wolf wrote:
> I followed the guide from here:
>
> http://www.scala-lang.org/node/94
>
> But the plugin throws many errors and actually says it could not
> compile the file due to exisiting errors. The file compiles fine
> though. But still pretty much every word and operator is red.

Read the troubleshooting section of that page. I think you'll find
that JDT Weaving isn't enabled ...

Cheers,

Miles

Niels Wolf
Joined: 2009-08-27,
User offline. Last seen 42 years 45 weeks ago.
Re: eclipse plugin on Galileo OSX

> Read the troubleshooting section of that page. I think you'll find
> that JDT Weaving isn't enabled ...

No. JDT weaving is enabled. any other suggestion, what could be wrong?

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: eclipse plugin on Galileo OSX

On Thu, Aug 27, 2009 at 2:07 PM, Niels Wolf wrote:
>> Read the troubleshooting section of that page. I think you'll find
>> that JDT Weaving isn't enabled ...
>
> No. JDT weaving is enabled. any other suggestion, what could be wrong?

Things to check ...

* Does the problem go away if you create a fresh Eclipse workspace?

* Does the problem go away if you create a fresh Eclipse installation
(ie. without any other plugins that you might have installed)?

Cheers,

Miles

Lars Vogel
Joined: 2009-08-24,
User offline. Last seen 42 years 45 weeks ago.
Re: eclipse plugin on Galileo OSX

Hi Niels,

I had the some problem and I had to install a fresh Eclipse Java IDE
based installation.

My setup is described here: http://www.vogella.de/articles/Scala/article.html

The information on the webpage above is almost the same as the
information to be found on http://www.scala-lang.org/node/94 just a
little bit different structured and more screenshots

Best regards, Lars

2009/8/27 Niels Wolf :
>> Read the troubleshooting section of that page. I think you'll find
>> that JDT Weaving isn't enabled ...
>
> No. JDT weaving is enabled. any other suggestion, what could be wrong?
>

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland