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

[netbeans] migrating to Scala 2.9.0/NB 7.0

4 replies
anli 2
Joined: 2011-05-18,
User offline. Last seen 42 years 45 weeks ago.
I'm addressing the message mostly to nbscala plugin author, but also interested in other NB/Scala users' experience and opinons sharing.

Caoyuan,

Following your efforts in github (thanks!) I have few little questions:

1. '-make' option is deprecated now. What is your suggested or planned way to organize Scala projects as well as relations between projects (rather maven way)? sbt-netbeans-plugin?
2. It is impossible to define Scala platform. Is it deprecated and just defined by SCALA_HOME?
3. NB Navigator shows NullaryMethodType for class members (not for all, but for plenty of them).
4. lazy vals usage finding doesn't work.


Andrew
Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] migrating to Scala 2.9.0/NB 7.0

On Wed, May 18, 2011 at 10:53 PM, anli wrote:
> I'm addressing the message mostly to nbscala plugin author, but also
> interested in other NB/Scala users' experience and opinons sharing.
>
> Caoyuan,
>
> Following your efforts in github (thanks!) I have few little questions:
>
> 1. '-make' option is deprecated now. What is your suggested or planned way
> to organize Scala projects as well as relations between projects (rather
> maven way)? sbt-netbeans-plugin?

'-make' option is not special for NetBeans, so we can just follow the
maven-scala-plugin.
For sbt-netbeans-plugin, I'll follow
https://github.com/remeniuk/sbt-netbeans-plugin

> 2. It is impossible to define Scala platform. Is it deprecated and just
> defined by SCALA_HOME?

For ant based project, $SCALA_HOME is current way, but the Scala
Platform will be corrected when somebody get time. BTW, per latest
nbscala for 2.9.x, the SCALA_HOME won't impact maven based project
anymore.

> 3. NB Navigator shows NullaryMethodType for class members (not for all, but
> for plenty of them).

Fixed

> 4. lazy vals usage finding doesn't work.

Will fix

BTW, the NetBeans(7.0) plugin for Scala 2.9.x preview can now be downloaded at
http://java.net/projects/nbscala/downloads/download/nbscala-2.9.x-0.9.zip

-Caoyuan

>
>
> Andrew
>

anli 2
Joined: 2011-05-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] migrating to Scala 2.9.0/NB 7.0
On Sunday, May 22, 2011 1:37:29 PM UTC+4, Caoyuan wrote:

maven-scala-plugin.
For sbt-netbeans-plugin, I'll follow
https://github.com/remeniuk/sbt-netbeans-plugin

'-make' option is not special for NetBeans, so we can just follow the

I see. Just am interested in your vision wrt sbt-netbeans-plugin - there is long thread with Vasil and me in xsbt group. Join! :)
 
For ant based project, $SCALA_HOME is current way, but the Scala

For ant (default way) and sbt plugin projects SCALA_HOME seems to be ignored at my case.To cure I was forced to add scala.home property to startup script.
 
> 3. NB Navigator shows NullaryMethodType for class members (not for all, but

> for plenty of them).

Fixed

Got it, thanks!
 
BTW, the NetBeans(7.0) plugin for Scala 2.9.x preview can now be downloaded at

http://java.net/projects/nbscala/downloads/download/nbscala-2.9.x-0.9.zip

I follow github.

P.S. BTW, as far as you have moved the project to git, you probably have tried netbeans git plugin - is it at usable state and free from showstoppers?


Andrew

anli 2
Joined: 2011-05-18,
User offline. Last seen 42 years 45 weeks ago.
[netbeans] migrating to Scala 2.9.0/NB 7.0

Caoyuan,

Following your efforts in github (thanks!) I have few little questions:

1. '-make' option is deprecated now. What is your suggested way to organize Scala project as well as relations between projects (rather maven way)? sbt-netbeans-plugin?
2. It is impossible to define Scala platform. Is it deprecated and just defined by SCALA_HOME? If it is so - what is expected place for Scala sources place? - for Ctrl-click-ing to sources.
3. NB Navigator shows NullaryMethodType for class members (not for all, but for plenty of them).
4. lazy vals usage finding doesn't work.

Andrew

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: migrating to Scala 2.9.0/NB 7.0

I'll reply the question here with some thoughts:

On May 17, 10:15 pm, Andrew Gaydenko
wrote:
> Caoyuan,
>
> Following your efforts in github (thanks!) I have few little questions:
>
> 1. '-make' option is deprecated now. What is your suggested way to organize Scala project as well as relations between projects (rather maven way)? sbt-netbeans-plugin?

I think someone can integrate parts of sbt process into maven-scala-
plugin, and not only, but also ant task.

> 2. It is impossible to define Scala platform. Is it deprecated and just defined by SCALA_HOME? If it is so - what is expected place for Scala sources place? - for Ctrl-click-ing to sources.
Need more work

> 3. NB Navigator shows NullaryMethodType for class members (not for all, but for plenty of them).
Fixed.

> 4. lazy vals usage finding doesn't work.

Will fix.
>
> Andrew

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