[scala-tools] FW: Scala Builder in Eclipse

View: New views
6 Messages — Rating Filter:   Alert me  

[scala-tools] FW: Scala Builder in Eclipse

by hornbn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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@...

 


Parent Message unknown Re: [scala-tools] FW: Scala Builder in Eclipse

by Naftoli Gugenheim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

-------------------------------------
hornbn<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@...

 


Re: [scala-tools] FW: Scala Builder in Eclipse

by Antony Stubbs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried this to solve this: http://www.nabble.com/-scala-tools--Eclipse-sees-scala-source-as-java-tp23630548p24420956.html 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<hornbn@pjm.com> 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

Re: [scala-tools] FW: Scala Builder in Eclipse

by Miles Sabin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jul 10, 2009 at 4:10 AM, Antony Stubbs<antony.stubbs@...> wrote:
> I tried this to solve this:
> http://www.nabble.com/-scala-tools--Eclipse-sees-scala-source-as-java-tp23630548p24420956.html
> 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

--
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

Parent Message unknown Re: [scala-tools] FW: Scala Builder in Eclipse

by Miles Sabin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jul 10, 2009 at 12:02 PM, Antony Stubbs<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

--
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

Parent Message unknown Re: [scala-tools] FW: Scala Builder in Eclipse

by Miles Sabin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Yes it does.

Cheers,


Miles

--
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin