Scala Plugin Version 1 for NetBeans 6.7 Released
>>> Updated on July 1, 2009
There are couple of reports on "Could not connect to compilation daemon.", mostly under Windows OS. It's a known issue, to resolve it, please check the following:
- SCALA_HOME is set to a fresh installed Scala runtime
- PATH includes $SCALA_HOME/bin
- If the build task still complain, try to run "fsc" or "scala" in a command window first
======
I'm pleased to announce the availability of Scala plugin version 1 for NetBeans 6.7
What's new:
- Use fsc instead of scalac as the project building compiler (If you've set SCALA_HOME, make sure $SCALA_HOME/bin is included in your PATH environment).
- Fixed setting breakpoint in closure statement.
- A basic import-fixer (Right click on source, then choose "Fix Imports").
- Code assistant for local vars and functions.
- Run/Debug single file.
To download, please go to: https://sourceforge.net/project/showfiles.php?group_id=192439&package_id=256544&release_id=686747
For more information, please see http://wiki.netbeans.org/Scala
Bug reports are welcome.
It works on NetBeans 6.7 RC1 or above.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/blog_logo.png)
rss
Comments
Great work! Thank you!
when i try to add a new scala platform i get this: http://ubuntu.pastebin.com/m4128236d ideas?
Running the default Hello World under Netbeans 6.7 RC1 on Windows Vista x64 results in a compile error.
Both x86 and x64 JDK's are installed on the system.
SCALA_HOME is set, as well as a path to the bin dir in SCALA_HOME (hard path)
http://pastebin.com/m34b4ed32
@83.163.50.11, it seems the fsc server is not started. Try to run scala once, and try again.
The plugin seems to be bundled with Scala 2.7.3. Why not 2.7.4, at the very least? (2.7.5 was released yesterday.)
@Brian, the bundled Scala is used for IDE itself, it's ok for all 2.7.x serials. To specify a custom scala version, please set SCALA_HOME.
And I'm actually waiting for scala 2.8.x, which brings some new language features.
The plugin doesn't work with RC1: When trying to compile a Scala application created with the wizard I get this error:
Could not connect to compilation daemon. org.netbeans.core.execution.ExitSecurityException?: Exit from within execution engine, normal
Bummer, Marcus
Running a Scala application created with the new project wizard gets me this error:
Could not connect to compilation daemon. org.netbeans.core.execution.ExitSecurityException?: Exit from within execution engine, normal
(I had to remove to rest of the stacktrace to avoid beeing considered as spam ...)
Any ideas?
Marcus
I figured out that I have to connect the plugin with my installation of Scala via SCALA_HOME. I thought that the plugin comes with a Scala compiler and runtime?
Using my local Scala installation works now.
Marcus
I tried the new Scala plugin in Netbeans 6.7 RC1 and RC2, but have an issue when running 'Test Project'. The output shows the following: init: deps-jar: compile: /Users/martin/Projects/javafx/Yasc/nbproject/build-impl.xml:584: Unknown attribute [debug] BUILD FAILED (total time: 1 second)
Where build-impl.xml around line 584 says the following:
the 'debug="true"' seems to be the problem...
Apart from this issue, I must say that it is a very nice released compared to the versions for NB 6.5. It feels a lot faster! Thanks for the effort!!