Change default scala netbeans platform?

I want to change my default Scala platform to netbeans under

tools->scala platforms 

I can’t remove the default platform, and I can’t define another default platform, just extra!

The default platform path does not work (error), and somehow it does not find Scala when copying the Scala platform to the default platform path.

Is there a way to do this in NetBeans or in NetBeans configuration files?

Thanks for any help!

Answer (Max. OSX):

Switch to

 /installation/path/NetBeans xyapp/Contents/Resources/NetBeans/etc/netbeans.conf 

change netbeans_defaut_options:

 netbeans_default_options="..... -J-Dscala.home=/scala/installation/path/scala-xxxy" 
+4
source share
1 answer

I'm not sure that the concept of the scala platform is still relevant for current versions of the Scala Netbeans Plugin . <sh> See error 172214 :

In the nightly version of the scala plugin, I deleted the scala nested runtime (the latter was still in 2.7.3) and cannot add it back.
The reason is that scala 2.8.0 changes a lot and is not in beta yet, the scala.editor module should often synchronize with the development of scala 2.8.

I will try to get the scala.stdplatform module working with scala sdk in the $ SCALA_HOME environment.

The latest NetBeans6.9 scala instructions recommend setting the $SCALA_HOME environment variable to indicate the scala execution path. <w> And to add the variable $SCALA_HOME/bin to PATH .

+4
source

All Articles