- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
FW: Scala Builder in Eclipse
Wed, 2009-07-08, 14:51
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
Fri, 2009-07-10, 04:17
#2
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
Fri, 2009-07-10, 12:07
#3
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
Fri, 2009-07-10, 13:07
#4
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
Fri, 2009-07-10, 20:37
#5
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
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