- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
[netbeans] migrating to Scala 2.9.0/NB 7.0
Wed, 2011-05-18, 15:53
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,
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
Sun, 2011-05-22, 13:27
#2
Re: [netbeans] migrating to Scala 2.9.0/NB 7.0
On Sunday, May 22, 2011 1:37:29 PM UTC+4, Caoyuan wrote:
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 (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.
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
maven-scala-plugin.
'-make' option is not special for NetBeans, so we can just follow the
For sbt-netbeans-plugin, I'll follow
https://github.com/remeniuk/sbt-netbeans-plugin
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, butGot it, thanks!> for plenty of them).
Fixed
BTW, the NetBeans(7.0) plugin for Scala 2.9.x preview can now be downloaded atI follow github.http://java.net/projects/nbscala/downloads/download/nbscala-2.9.x-0.9.zip
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
Mon, 2011-05-23, 09:27
#3
[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
Tue, 2011-05-24, 08:07
#4
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
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
>