- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
No Scala context menu in Eclipse using nightly build 9th Mar
Fri, 2010-03-12, 04:34
I am seeing no Scala context menu in Eclipse 3.5.2 using nightly build 9th Mar. Thus, it doesnt seem to be possible to Add/Remove Scala Nature to a Java project. Other aspects of the SDT seems to be present, eg wizards, scala perspective .
No related (or in fact, any) errors appear in the log after restart to suggest an init failure.
Anyone else getting this? Has this been altered recently?
-Ben
No related (or in fact, any) errors appear in the log after restart to suggest an init failure.
Anyone else getting this? Has this been altered recently?
-Ben
Fri, 2010-03-12, 07:47
#2
Re: No Scala context menu in Eclipse using nightly build 9th Mar
On Fri, Mar 12, 2010 at 3:11 PM, Ben Hutchison <brhutchison@gmail.com> wrote:
For unknown reasons, moving some files around seems to have revealed the location of the above error now, as a side-effect.
Its in a file thats /excluded/ from the build path, ie it shouldn't be visible to the compiler. Suggests the SDT Java compiler is not respecting excluded resources?
-Ben
..upon adding Scala nature to a sizeable all-Java project, that was compiling without errors, now results in 7 compile errors... two of them are reported without any path..
Msg: "`}' expected but eof found."
Path: ""
Location: "Unknown"
For unknown reasons, moving some files around seems to have revealed the location of the above error now, as a side-effect.
Its in a file thats /excluded/ from the build path, ie it shouldn't be visible to the compiler. Suggests the SDT Java compiler is not respecting excluded resources?
-Ben
Fri, 2010-03-12, 11:47
#3
Re: Re: No Scala context menu in Eclipse using nightly build 9
On Fri, Mar 12, 2010 at 6:41 AM, Ben Hutchison wrote:
> Its in a file thats /excluded/ from the build path, ie it shouldn't be
> visible to the compiler. Suggests the SDT Java compiler is not respecting
> excluded resources?
Thanks for the report. The Scala IDE should be respecting excluded
resources, so if you can put together a small sample project which
illustrates the problem and attach it to a Trac ticket that would be
extremely helpful. Thanks.
Cheers,
Miles
2. However, upon adding Scala nature to a sizeable all-Java project, that was compiling without errors, now results in 7 compile errors.
5 of them seem to be an intolerance to java Raw Types, which (although it legal Java) Im ok with. But two of them are reported without any path, which makes fixing them difficult! Eg
Msg: "`}' expected but eof found."
Path: ""
Location: "Unknown"
Now, somebody must have encountered that EOF /somewhere/, so why is the location unknown? It suggests that some important info has been chucked out somewhere along the way.
Investigations are continuing...
-Ben
On Fri, Mar 12, 2010 at 2:34 PM, Ben Hutchison <brhutchison@gmail.com> wrote: