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

FW: Scala Builder in Eclipse

5 replies
hornbn
Joined: 2009-07-08,
User offline. Last seen 42 years 45 weeks ago.

I have followed the directions for the Scala plug-in for Eclipse to the letter.  I can get the run configuration to run a sample Scala program that I have precompiled using scalac.  But I am having the following issues and can’t find any documentation to help:

·         The Scala perspective does not seem to recognize Scala code, it reports Scala syntax as Java errors.

·         The Scala Builder does not build.

 

Thanks,

 

Neil

 

________________________________

Neil Hornbeck

 

PJM Interconnection

IT Integration

Market Applications

 

610.666.2223

hornbn@pjm.com

 

Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: FW: Scala Builder in Eclipse

Is JDT weaving enabled in Preferences? See the other thread with the same question started 10 minutes after yours ;).

-------------------------------------
hornbn wrote:

I have followed the directions for the Scala plug-in for Eclipse to the
letter. I can get the run configuration to run a sample Scala program
that I have precompiled using scalac. But I am having the following
issues and can't find any documentation to help:

* The Scala perspective does not seem to recognize Scala code,
it reports Scala syntax as Java errors.

* The Scala Builder does not build.

Thanks,

Neil

________________________________

Neil Hornbeck

PJM Interconnection

IT Integration

Market Applications

610.666.2223

hornbn@pjm.com

Antony Stubbs
Joined: 2009-07-10,
User offline. Last seen 1 year 2 hours ago.
Re: FW: Scala Builder in Eclipse

I tried this to solve this:
http://www.nabble.com/-scala-tools--Eclipse-sees-scala-source-as-java-tp...
but no luck

i click enable jdt weaving, eclipse restarts, log message says jdt
successfully enabled, but button in pref still says click to enable and that
it's not enabled. And the same problem exists that all the scala code is
being read as java :/

Naftoli Gugenhem wrote:
>
> Is JDT weaving enabled in Preferences? See the other thread with the same
> question started 10 minutes after yours ;).
>
> -------------------------------------
> hornbn wrote:
>
> I have followed the directions for the Scala plug-in for Eclipse to the
> letter. I can get the run configuration to run a sample Scala program
> that I have precompiled using scalac. But I am having the following
> issues and can't find any documentation to help:
>
> * The Scala perspective does not seem to recognize Scala code,
> it reports Scala syntax as Java errors.
>
> * The Scala Builder does not build.
>
>
>
> Thanks,
>
>
>
> Neil
>
>
>
> ________________________________
>
> Neil Hornbeck
>
>
>
> PJM Interconnection
>
> IT Integration
>
> Market Applications
>
>
>
> 610.666.2223
>
> hornbn@pjm.com
>
>
>
>
>

-----
___________________________

http://stubbisms.wordpress.com http://stubbisms.wordpress.com

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: FW: Scala Builder in Eclipse

On Fri, Jul 10, 2009 at 4:10 AM, Antony Stubbs wrote:
> I tried this to solve this:
> http://www.nabble.com/-scala-tools--Eclipse-sees-scala-source-as-java-tp...
> but no luck
>
> i click enable jdt weaving, eclipse restarts, log message says jdt
> successfully enabled, but button in pref still says click to enable and that
> it's not enabled. And the same problem exists that all the scala code is
> being read as java :/

Is you Eclipse installation < 3.5 and read-only?

If it is then I recommend upgrading to Eclipse 3.5.

Cheers,

Miles

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: FW: Scala Builder in Eclipse

On Fri, Jul 10, 2009 at 12:02 PM, Antony Stubbs wrote:
> 3.5 and nightly scala plugin

You don't want a nightly build at the moment unless you're planning to
do development on the IDE itself. Give it a week or two (I'll make an
announcement here). Until then use 2.7.5.

Cheers,

Miles

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: FW: Scala Builder in Eclipse

On Fri, Jul 10, 2009 at 8:20 PM, Antony Stubbs wrote:
> I see. Does the released plugin support 3.5?

Yes it does.

Cheers,

Miles

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