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

Scala Eclipse Plugin and maven

2 replies
rossputin
Joined: 2009-02-26,
User offline. Last seen 2 years 12 weeks ago.

Hi.

I installed the eclipse plugin, and tested it fine with a scala only
project. However when I import a maven project, with both a src/main/java
and src/main/scala project it seems I am unable to use the scala perspective
in terms of editing scala files etc. I cannot create scala classes.

Has anyone got all of this working ?

Thanks in advance for your help,

regards,

Ross.

Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: Scala Eclipse Plugin and maven

Make sure the project has a scala nature.

Right-click on the project in package explorer. Select "Add Scala
Nature" in the scala submenu.

I have a wiki page about this somewhere on http://code.google.com/p/esmi

Let me know of you have any other issues.

Sent from my iPhone

On Feb 26, 2009, at 5:24 AM, rossputin wrote:

>
> Hi.
>
> I installed the eclipse plugin, and tested it fine with a scala only
> project. However when I import a maven project, with both a src/
> main/java
> and src/main/scala project it seems I am unable to use the scala
> perspective
> in terms of editing scala files etc. I cannot create scala classes.
>
> Has anyone got all of this working ?
>
> Thanks in advance for your help,
>
> regards,
>
> Ross.
>
>

rossputin
Joined: 2009-02-26,
User offline. Last seen 2 years 12 weeks ago.
Re: Scala Eclipse Plugin and maven

Excellent, thanks for your help, working nicely!

Regards,

Ross.

Josh Suereth wrote:
>
> Make sure the project has a scala nature.
>
> Right-click on the project in package explorer. Select "Add Scala
> Nature" in the scala submenu.
>
> I have a wiki page about this somewhere on http://code.google.com/p/esmi
>
> Let me know of you have any other issues.
>
> Sent from my iPhone
>
> On Feb 26, 2009, at 5:24 AM, rossputin wrote:
>
>>
>> Hi.
>>
>> I installed the eclipse plugin, and tested it fine with a scala only
>> project. However when I import a maven project, with both a src/
>> main/java
>> and src/main/scala project it seems I am unable to use the scala
>> perspective
>> in terms of editing scala files etc. I cannot create scala classes.
>>
>> Has anyone got all of this working ?
>>
>> Thanks in advance for your help,
>>
>> regards,
>>
>> Ross.
>>
>>

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