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

[ANN] Scala plugin for NetBeans 6.8RC1 available

21 replies
Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is available for download.

New & Noteworthy

* Fixed: Error and warning markers on Windows
* Fixed: Go-To-Source on Windows
* Fixed: Go-To-Source across dependent Maven projects.
* Use dependencies aware scalac task instead of fsc for default Scala project
* Much more responsive when typing and for code-completion
* More refactoring: find usages, rename across opened projects
* Breakpoint works everywhere
* Better supporting for mixed Java/Scala project in both direction (Java is visible in Scala and vice versa)
* Better integration with NetBeans maven plugin
* Better code completion even for implicit methods (in most cases)
* Better indentation and formatter for unfinished line after if, else, =, for, while, do etc
* Better syntax highlighting for val/var, lazy val, implicit call, byname param, abstract method etc
* Mark of implemented/overridden methods, click on mark will jump to super definition
* Go to type ("Ctrl+O")
* Select parts of code, press {, [, (, ", ` will add/replace surrounding pair, press ~ will remove them. Specially, press / will block-comment it
* Reset Scala interactive parser when necessary, for instance: dependent libs changed (Right click on source, choose "Reset Scala Parser" in pop-up menu)
* Output highlighted code to html ([File] -> [PrintToHTML...]) (Can be then copied/pasted to Word, PowerPoint, Keynote etc. See example)
* Some basic hints, for instance: fixing import, unused imports
* Code template now works, check or add your own via [Options/Preferences] -> [Editor] -> [Code Templates] -> [Scala]

Install with NetBeans 6.8RC1

* Download and install the latest Scala-2.8.0 snapshot runtime via http://www.scala-lang.org/archives/downloads/distrib/files/nightly/distributions/scala-2.8.0.latest.zip
* Set $SCALA_HOME environment variable to point to the installed Scala runtime path. Add $SCALA_HOME/bin to PATH environment variable.
  ** Note for Mac OS user, $SCALA_HOME environment variable may not be visible for Applications/NetBeans, see http://wiki.netbeans.org/MacOSXEnvForApp   ** Note for Linux user, if your $SCALA_HOME environment variable is not visible for Applications/NetBeans, see http://wiki.netbeans.org/LinuxEnvForApp
* Get the NetBeans 6.8RC1 from: http://dlc.sun.com.edgesuite.net/netbeans/6.8/rc/
* Get the Scala plugins binary from: https://sourceforge.net/projects/erlybird/files/nb-scala/nb-scala-6.8v1.1.0
* Unzip Scala plugin binary to somewhere
* Open NetBeans, go to "Tools" | "Plugins", click on "Downloaded" tab title, click on "Add Plugins..." button, choose the directory where the Scala plugins are unzipped,    
 select all listed *.nbm files, following the instructions.
* Edit $NetBeansInstallationPath/etc/netbeans.conf
 ** set better maximum heap memory size, for instance: -J-Xmx1024m
 ** remove "-J-ea" if there is one to avoid AssertionError window popup

Old Projects Created Before 6.8v1.1.0beta Should Modify Their Project Properties
* All projects created via "File" | "New Project" before nb-scala-6.8v1.1.0beta should add or change following lines in "nbproject/project.properties"
scalac.compilerargs=
scalac.deprecation=no
scalac.unchecked=no


For most recent update information, please visit:
http://wiki.netbeans.org/Scala68v1

Viktor Klang
Joined: 2008-12-17,
User offline. Last seen 1 year 27 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available
Awesome!
A big thanks for your hard work!

On Mon, Nov 30, 2009 at 2:45 PM, Caoyuan <dcaoyuan@gmail.com> wrote:
I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is available for download.

New & Noteworthy

* Fixed: Error and warning markers on Windows
* Fixed: Go-To-Source on Windows
* Fixed: Go-To-Source across dependent Maven projects.
* Use dependencies aware scalac task instead of fsc for default Scala project
* Much more responsive when typing and for code-completion
* More refactoring: find usages, rename across opened projects
* Breakpoint works everywhere
* Better supporting for mixed Java/Scala project in both direction (Java is visible in Scala and vice versa)
* Better integration with NetBeans maven plugin
* Better code completion even for implicit methods (in most cases)
* Better indentation and formatter for unfinished line after if, else, =, for, while, do etc
* Better syntax highlighting for val/var, lazy val, implicit call, byname param, abstract method etc
* Mark of implemented/overridden methods, click on mark will jump to super definition
* Go to type ("Ctrl+O")
* Select parts of code, press {, [, (, ", ` will add/replace surrounding pair, press ~ will remove them. Specially, press / will block-comment it
* Reset Scala interactive parser when necessary, for instance: dependent libs changed (Right click on source, choose "Reset Scala Parser" in pop-up menu)
* Output highlighted code to html ([File] -> [PrintToHTML...]) (Can be then copied/pasted to Word, PowerPoint, Keynote etc. See example)
* Some basic hints, for instance: fixing import, unused imports
* Code template now works, check or add your own via [Options/Preferences] -> [Editor] -> [Code Templates] -> [Scala]

Install with NetBeans 6.8RC1

* Download and install the latest Scala-2.8.0 snapshot runtime via http://www.scala-lang.org/archives/downloads/distrib/files/nightly/distributions/scala-2.8.0.latest.zip
* Set $SCALA_HOME environment variable to point to the installed Scala runtime path. Add $SCALA_HOME/bin to PATH environment variable.
  ** Note for Mac OS user, $SCALA_HOME environment variable may not be visible for Applications/NetBeans, see http://wiki.netbeans.org/MacOSXEnvForApp   ** Note for Linux user, if your $SCALA_HOME environment variable is not visible for Applications/NetBeans, see http://wiki.netbeans.org/LinuxEnvForApp
* Get the NetBeans 6.8RC1 from: http://dlc.sun.com.edgesuite.net/netbeans/6.8/rc/
* Get the Scala plugins binary from: https://sourceforge.net/projects/erlybird/files/nb-scala/nb-scala-6.8v1.1.0
* Unzip Scala plugin binary to somewhere
* Open NetBeans, go to "Tools" | "Plugins", click on "Downloaded" tab title, click on "Add Plugins..." button, choose the directory where the Scala plugins are unzipped,    
 select all listed *.nbm files, following the instructions.
* Edit $NetBeansInstallationPath/etc/netbeans.conf
 ** set better maximum heap memory size, for instance: -J-Xmx1024m
 ** remove "-J-ea" if there is one to avoid AssertionError window popup

Old Projects Created Before 6.8v1.1.0beta Should Modify Their Project Properties
* All projects created via "File" | "New Project" before nb-scala-6.8v1.1.0beta should add or change following lines in "nbproject/project.properties"
scalac.compilerargs=
scalac.deprecation=no
scalac.unchecked=no


For most recent update information, please visit:
http://wiki.netbeans.org/Scala68v1




--
Viktor Klang
| "A complex system that works is invariably
| found to have evolved from a simple system
| that worked." - John Gall

Blog: klangism.blogspot.com
Twttr: twitter.com/viktorklang
Code: github.com/viktorklang
Lalit Pant
Joined: 2009-01-05,
User offline. Last seen 2 years 7 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

Awesome! Thanks for all the great work on this, Caoyuan...

dcaoyuan wrote:
>
> I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is available
> for
> download.
>

Maxime Lévesque
Joined: 2009-08-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

 Thanks a lot  Caoyuan, it is contributions like
yours that will make a brilliant future for Scala !

 Cheers

On Mon, Nov 30, 2009 at 8:45 AM, Caoyuan <dcaoyuan@gmail.com> wrote:
I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is available for download.

New & Noteworthy

* Fixed: Error and warning markers on Windows
* Fixed: Go-To-Source on Windows
* Fixed: Go-To-Source across dependent Maven projects.
* Use dependencies aware scalac task instead of fsc for default Scala project
* Much more responsive when typing and for code-completion
* More refactoring: find usages, rename across opened projects
* Breakpoint works everywhere
* Better supporting for mixed Java/Scala project in both direction (Java is visible in Scala and vice versa)
* Better integration with NetBeans maven plugin
* Better code completion even for implicit methods (in most cases)
* Better indentation and formatter for unfinished line after if, else, =, for, while, do etc
* Better syntax highlighting for val/var, lazy val, implicit call, byname param, abstract method etc
* Mark of implemented/overridden methods, click on mark will jump to super definition
* Go to type ("Ctrl+O")
* Select parts of code, press {, [, (, ", ` will add/replace surrounding pair, press ~ will remove them. Specially, press / will block-comment it
* Reset Scala interactive parser when necessary, for instance: dependent libs changed (Right click on source, choose "Reset Scala Parser" in pop-up menu)
* Output highlighted code to html ([File] -> [PrintToHTML...]) (Can be then copied/pasted to Word, PowerPoint, Keynote etc. See example)
* Some basic hints, for instance: fixing import, unused imports
* Code template now works, check or add your own via [Options/Preferences] -> [Editor] -> [Code Templates] -> [Scala]

Install with NetBeans 6.8RC1

* Download and install the latest Scala-2.8.0 snapshot runtime via http://www.scala-lang.org/archives/downloads/distrib/files/nightly/distributions/scala-2.8.0.latest.zip
* Set $SCALA_HOME environment variable to point to the installed Scala runtime path. Add $SCALA_HOME/bin to PATH environment variable.
  ** Note for Mac OS user, $SCALA_HOME environment variable may not be visible for Applications/NetBeans, see http://wiki.netbeans.org/MacOSXEnvForApp   ** Note for Linux user, if your $SCALA_HOME environment variable is not visible for Applications/NetBeans, see http://wiki.netbeans.org/LinuxEnvForApp
* Get the NetBeans 6.8RC1 from: http://dlc.sun.com.edgesuite.net/netbeans/6.8/rc/
* Get the Scala plugins binary from: https://sourceforge.net/projects/erlybird/files/nb-scala/nb-scala-6.8v1.1.0
* Unzip Scala plugin binary to somewhere
* Open NetBeans, go to "Tools" | "Plugins", click on "Downloaded" tab title, click on "Add Plugins..." button, choose the directory where the Scala plugins are unzipped,    
 select all listed *.nbm files, following the instructions.
* Edit $NetBeansInstallationPath/etc/netbeans.conf
 ** set better maximum heap memory size, for instance: -J-Xmx1024m
 ** remove "-J-ea" if there is one to avoid AssertionError window popup

Old Projects Created Before 6.8v1.1.0beta Should Modify Their Project Properties
* All projects created via "File" | "New Project" before nb-scala-6.8v1.1.0beta should add or change following lines in "nbproject/project.properties"
scalac.compilerargs=
scalac.deprecation=no
scalac.unchecked=no


For most recent update information, please visit:
http://wiki.netbeans.org/Scala68v1


jlist9
Joined: 2009-09-29,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

Hi, to install scala plugin, will the 48MB "Java SE" version do? Or, should I
install the 213MB "Java" version? Thanks

> * Get the NetBeans 6.8RC1 from: http://dlc.sun.com.edgesuite.net/netbeans/6.8/rc/

jlist9
Joined: 2009-09-29,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

I downloaded NetBeans 6.8RC1, the latest scala runtime and latest
scala 2.8 plugin and installed it. I was able to create a Scala application
project. When I ran it, I got the compilation error below. Any idea why?

-----------------------------
init:
deps-jar:
Compiling 1 source file to C:\Documents and Settings\myuser\My
Documents\NetBeansProjects\ScalaApplication1\build\classes
C:\Documents and Settings\myuser\My
Documents\NetBeansProjects\ScalaApplication1\nbproject\build-impl.xml:403:
The following error occurred while executing this line:
C:\Documents and Settings\myuser\My
Documents\NetBeansProjects\ScalaApplication1\nbproject\build-impl.xml:236:
don't know what to do with and
BUILD FAILED (total time: 0 seconds)
-----------------------------

On Mon, Nov 30, 2009 at 5:45 AM, Caoyuan wrote:
> I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is available for
> download.

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

On Wed, Dec 2, 2009 at 1:50 PM, jlist9 wrote:
> Hi, to install scala plugin, will the 48MB "Java SE" version do? Or, should I
> install the 213MB "Java" version? Thanks

Scala plugin works both under "Java SE" version and "Java" version of NetBeans

>
>> * Get the NetBeans 6.8RC1 from: http://dlc.sun.com.edgesuite.net/netbeans/6.8/rc/
>

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

On Wed, Dec 2, 2009 at 2:32 PM, jlist9 wrote:
> I downloaded NetBeans 6.8RC1, the latest scala runtime and latest
> scala 2.8 plugin and installed it. I was able to create a Scala application
> project. When I ran it, I got the compilation error below. Any idea why?
>
> -----------------------------
> init:
> deps-jar:
> Compiling 1 source file to C:\Documents and Settings\myuser\My
> Documents\NetBeansProjects\ScalaApplication1\build\classes
> C:\Documents and Settings\myuser\My
> Documents\NetBeansProjects\ScalaApplication1\nbproject\build-impl.xml:403:
> The following error occurred while executing this line:
> C:\Documents and Settings\myuser\My
> Documents\NetBeansProjects\ScalaApplication1\nbproject\build-impl.xml:236:
> don't know what to do with and
> BUILD FAILED (total time: 0 seconds)

Oh, again, another Windows hole. Please create your projects under a
directory that does not contain any space, for example:

"C:\myprojects"

> -----------------------------
>
> On Mon, Nov 30, 2009 at 5:45 AM, Caoyuan wrote:
>> I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is available for
>> download.
>

David Flemström
Joined: 2009-08-10,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

After having downloaded the new plugin, syntax highlighting is broken.
Every object definition I write is highlighted in red, with the error
"illegal inheritance:
self-type org.my.Class.type does not conform to scala.ScalaObject's selftype
ScalaObject
ScalaObject does not have a constructor."

I'm using Maven 2 for the project and the 2.7.7 compiler. This bug did not
exist in the 6.8 beta plugin (same configuration).

On Monday 30 November 2009 14:45:36 Caoyuan wrote:
> I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is available
> for download.
>
> New & Noteworthy
>
> * Fixed: Error and warning markers on Windows
> * Fixed: Go-To-Source on Windows
> * Fixed: Go-To-Source across dependent Maven projects.
> * Use dependencies aware scalac task instead of fsc for default Scala
> project
> * Much more responsive when typing and for code-completion
> * More refactoring: find usages, rename across opened projects
> * Breakpoint works everywhere
> * Better supporting for mixed Java/Scala project in both direction (Java is
> visible in Scala and vice versa)
> * Better integration with NetBeans maven plugin
> * Better code completion even for implicit methods (in most cases)
> * Better indentation and formatter for unfinished line after if, else, =,
> for, while, do etc
> * Better syntax highlighting for val/var, lazy val, implicit call, byname
> param, abstract method etc
> * Mark of implemented/overridden methods, click on mark will jump to super
> definition
> * Go to type ("Ctrl+O")
> * Select parts of code, press {, [, (, ", ` will add/replace surrounding
> pair, press ~ will remove them. Specially, press / will block-comment it
> * Reset Scala interactive parser when necessary, for instance: dependent
> libs changed (Right click on source, choose "Reset Scala Parser" in pop-up
> menu)
> * Output highlighted code to html ([File] -> [PrintToHTML...]) (Can be then
> copied/pasted to Word, PowerPoint, Keynote etc. See example)
> * Some basic hints, for instance: fixing import, unused imports
> * Code template now works, check or add your own via [Options/Preferences]
> -> [Editor] -> [Code Templates] -> [Scala]
>
> Install with NetBeans 6.8RC1
>
> * Download and install the latest Scala-2.8.0 snapshot runtime via
> http://www.scala-lang.org/archives/downloads/distrib/files/nightly/distribu
> tions/scala-2.8.0.latest.zip * Set $SCALA_HOME environment variable to
> point to the installed Scala runtime path. Add $SCALA_HOME/bin to PATH
> environment variable.
> ** Note for Mac OS user, $SCALA_HOME environment variable may not be
> visible for Applications/NetBeans, see
> http://wiki.netbeans.org/MacOSXEnvForApp
> ** Note for Linux user, if your $SCALA_HOME environment variable is not
> visible for Applications/NetBeans, see
> http://wiki.netbeans.org/LinuxEnvForApp
> * Get the NetBeans 6.8RC1 from:
> http://dlc.sun.com.edgesuite.net/netbeans/6.8/rc/
> * Get the Scala plugins binary from:
> https://sourceforge.net/projects/erlybird/files/nb-scala/nb-scala-6.8v1.1.0
> * Unzip Scala plugin binary to somewhere
> * Open NetBeans, go to "Tools" | "Plugins", click on "Downloaded" tab
> title, click on "Add Plugins..." button, choose the directory where the
> Scala plugins are unzipped,
> select all listed *.nbm files, following the instructions.
> * Edit $NetBeansInstallationPath/etc/netbeans.conf
> ** set better maximum heap memory size, for instance: -J-Xmx1024m
> ** remove "-J-ea" if there is one to avoid AssertionError window popup
>
> Old Projects Created Before 6.8v1.1.0beta Should Modify Their Project
> Properties
> * All projects created via "File" | "New Project" before
> nb-scala-6.8v1.1.0beta should add or change following lines in
> "nbproject/project.properties"
> scalac.compilerargs=
> scalac.deprecation=no
> scalac.unchecked=no
>
>
> For most recent update information, please visit:
> http://wiki.netbeans.org/Scala68v1
>

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

On Thu, Dec 3, 2009 at 12:07 AM, David Flemström
wrote:
> After having downloaded the new plugin, syntax highlighting is broken.
> Every object definition I write is highlighted in red, with the error
> "illegal inheritance:
>  self-type org.my.Class.type does not conform to scala.ScalaObject's selftype
> ScalaObject
>  ScalaObject does not have a constructor."
>
> I'm using Maven 2 for the project and the 2.7.7 compiler. This bug did not
> exist in the 6.8 beta plugin (same configuration).

Yes, as description in the installation instructions, the new plugin
only work with Scala 2.8.0.

-Caoyuan

>
> On Monday 30 November 2009 14:45:36 Caoyuan wrote:
>> I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is available
>>  for download.
>>
>> New & Noteworthy
>>
>> * Fixed: Error and warning markers on Windows
>> * Fixed: Go-To-Source on Windows
>> * Fixed: Go-To-Source across dependent Maven projects.
>> * Use dependencies aware scalac task instead of fsc for default Scala
>> project
>> * Much more responsive when typing and for code-completion
>> * More refactoring: find usages, rename across opened projects
>> * Breakpoint works everywhere
>> * Better supporting for mixed Java/Scala project in both direction (Java is
>> visible in Scala and vice versa)
>> * Better integration with NetBeans maven plugin
>> * Better code completion even for implicit methods (in most cases)
>> * Better indentation and formatter for unfinished line after if, else, =,
>> for, while, do etc
>> * Better syntax highlighting for val/var, lazy val, implicit call, byname
>> param, abstract method etc
>> * Mark of implemented/overridden methods, click on mark will jump to super
>> definition
>> * Go to type ("Ctrl+O")
>> * Select parts of code, press {, [, (, ", ` will add/replace surrounding
>> pair, press ~ will remove them. Specially, press / will block-comment it
>> * Reset Scala interactive parser when necessary, for instance: dependent
>> libs changed (Right click on source, choose "Reset Scala Parser" in pop-up
>> menu)
>> * Output highlighted code to html ([File] -> [PrintToHTML...]) (Can be then
>> copied/pasted to Word, PowerPoint, Keynote etc. See example)
>> * Some basic hints, for instance: fixing import, unused imports
>> * Code template now works, check or add your own via [Options/Preferences]
>> -> [Editor] -> [Code Templates] -> [Scala]
>>
>> Install with NetBeans 6.8RC1
>>
>> * Download and install the latest Scala-2.8.0 snapshot runtime via
>> http://www.scala-lang.org/archives/downloads/distrib/files/nightly/distribu
>> tions/scala-2.8.0.latest.zip * Set $SCALA_HOME environment variable to
>>  point to the installed Scala runtime path. Add $SCALA_HOME/bin to PATH
>>  environment variable.
>>   ** Note for Mac OS user, $SCALA_HOME environment variable may not be
>> visible for Applications/NetBeans, see
>> http://wiki.netbeans.org/MacOSXEnvForApp
>>   ** Note for Linux user, if your $SCALA_HOME environment variable is not
>> visible for Applications/NetBeans, see
>> http://wiki.netbeans.org/LinuxEnvForApp
>> * Get the NetBeans 6.8RC1 from:
>> http://dlc.sun.com.edgesuite.net/netbeans/6.8/rc/
>> * Get the Scala plugins binary from:
>> https://sourceforge.net/projects/erlybird/files/nb-scala/nb-scala-6.8v1.1.0
>> * Unzip Scala plugin binary to somewhere
>> * Open NetBeans, go to "Tools" | "Plugins", click on "Downloaded" tab
>>  title, click on "Add Plugins..." button, choose the directory where the
>>  Scala plugins are unzipped,
>>  select all listed *.nbm files, following the instructions.
>> * Edit $NetBeansInstallationPath/etc/netbeans.conf
>>  ** set better maximum heap memory size, for instance: -J-Xmx1024m
>>  ** remove "-J-ea" if there is one to avoid AssertionError window popup
>>
>> Old Projects Created Before 6.8v1.1.0beta Should Modify Their Project
>> Properties
>> * All projects created via "File" | "New Project" before
>> nb-scala-6.8v1.1.0beta should add or change following lines in
>> "nbproject/project.properties"
>> scalac.compilerargs=
>> scalac.deprecation=no
>> scalac.unchecked=no
>>
>>
>> For most recent update information, please visit:
>> http://wiki.netbeans.org/Scala68v1
>>
>

Cay Horstmann
Joined: 2009-09-04,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

When I install the Scala plugin into NB6.8rc1 and make a new Scala
application project, Netbeans hangs in the dreaded "scanning projects"
phase. Any suggestions how to overcome that? (I have Scala 6.8
installed and SCALA_HOME and PATH are correctly set--I was able to use
an earlier version of the plugin in NB6.5).

Thanks,

Cay

Sam Stainsby
Joined: 2009-01-14,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

On Mon, 30 Nov 2009 21:45:36 +0800, Caoyuan wrote:

> I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is available
> for download.

Thanks for this - it works beautifully for me. Netbeans 6.8 and your
plugin have become indispensable tools for my projects. Having only used
two other environments for any length of time in my career, Emacs and the
JEdit, I had all but given up on more complex IDEs. My enthusiasm is at
last renewed!

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

Hi Cay,

On Thu, Dec 3, 2009 at 4:15 AM, Cay Horstmann wrote:
> When I install the Scala plugin into NB6.8rc1 and make a new Scala
> application project, Netbeans hangs in the dreaded "scanning projects"
> phase. Any suggestions how to overcome that? (I have Scala 6.8
> installed and SCALA_HOME and PATH are correctly set--I was able to use
> an earlier version of the plugin in NB6.5).

It happens on occasion on my machine too, seems a regressing issue of
NB's indexing engine. In very rare cases, I have to kill it first then
restart NB. Sometimes incremental the -Xmx may be helpful, I usually
add "-J-Xmx1024m" for my NB configuration file, which is located at:
NBInstallationPath/etc/netbeans.conf

If there is still problem, please take a look at the log file at:
UserHome/.netbeans/6.8rc1/var/log/messages.log

Thanks for the inspection.

-Caoyuan

Cay Horstmann
Joined: 2009-09-04,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [ANN] Scala plugin for NetBeans 6.8RC1 available
I added -J-Xmx1024m to the default options, so I don't think that's the problem. Now I uninstalled and reinstalled the plugin one more time and for the first time was able to open a new Scala project. However, when I copied over some code from a project that works fine in Eclipse, NetBeans froze right away. Here is the log file:

-------------------------------------------------------------------------------
>Log Session: Wednesday, December 2, 2009 8:51:25 PM PST
>System Info:
Product Version = NetBeans IDE 6.8 RC1 (Build 200911252200) (#3c4d4f8d3d55)
Operating System = Linux version 2.6.31-15-generic running on i386
Java; VM; Vendor = 1.6.0_16; Java HotSpot(TM) Server VM 14.2-b01; Sun Microsystems Inc.
Runtime = Java(TM) SE Runtime Environment 1.6.0_16-b01
Java Home = /home/apps/jdk1.6.0_16/jre
System Locale; Encoding = en_US (nb); UTF-8
Home Directory = /home/cay
Current Directory = /home/cay
User Directory = /home/cay/.netbeans/6.8rc1
Installation = /home/apps/netbeans-6.8rc1/nb6.8
/home/apps/netbeans-6.8rc1/ide12
/home/apps/netbeans-6.8rc1/java3
/home/apps/netbeans-6.8rc1/ergonomics2
/home/apps/netbeans-6.8rc1/apisupport1
/home/apps/netbeans-6.8rc1/websvccommon1
/home/apps/netbeans-6.8rc1/enterprise6
/home/apps/netbeans-6.8rc1/profiler3
/home/apps/netbeans-6.8rc1/identity2
/home/apps/netbeans-6.8rc1/harness
/home/apps/netbeans-6.8rc1/platform11
Boot & Ext. Classpath = /home/apps/jdk1.6.0_16/jre/lib/resources.jar:/home/apps/jdk1.6.0_16/jre/lib/rt.jar:/home/apps/jdk1.6.0_16/jre/lib/sunrsasign.jar:/home/apps/jdk1.6.0_16/jre/lib/jsse.jar:/home/apps/jdk1.6.0_16/jre/lib/jce.jar:/home/apps/jdk1.6.0_16/jre/lib/charsets.jar:/home/apps/jdk1.6.0_16/jre/classes:/home/apps/jdk1.6.0_16/jre/lib/ext/sunpkcs11.jar:/home/apps/jdk1.6.0_16/jre/lib/ext/localedata.jar:/home/apps/jdk1.6.0_16/jre/lib/ext/sunjce_provider.jar:/home/apps/jdk1.6.0_16/jre/lib/ext/dnsns.jar
Application Classpath = /home/apps/netbeans-6.8rc1/platform11/lib/boot.jar:/home/apps/netbeans-6.8rc1/platform11/lib/org-openide-modules.jar:/home/apps/netbeans-6.8rc1/platform11/lib/org-openide-util.jar:/home/apps/netbeans-6.8rc1/platform11/lib/locale/boot_ja.jar:/home/apps/netbeans-6.8rc1/platform11/lib/locale/boot_pt_BR.jar:/home/apps/netbeans-6.8rc1/platform11/lib/locale/boot_zh_CN.jar:/home/apps/netbeans-6.8rc1/platform11/lib/locale/org-openide-modules_ja.jar:/home/apps/netbeans-6.8rc1/platform11/lib/locale/org-openide-modules_pt_BR.jar:/home/apps/netbeans-6.8rc1/platform11/lib/locale/org-openide-modules_zh_CN.jar:/home/apps/netbeans-6.8rc1/platform11/lib/locale/org-openide-util_ja.jar:/home/apps/netbeans-6.8rc1/platform11/lib/locale/org-openide-util_pt_BR.jar:/home/apps/netbeans-6.8rc1/platform11/lib/locale/org-openide-util_zh_CN.jar:/home/apps/jdk1.6.0/lib/dt.jar:/home/apps/jdk1.6.0/lib/tools.jar
Startup Classpath = /home/apps/netbeans-6.8rc1/platform11/core/core.jar:/home/apps/netbeans-6.8rc1/platform11/core/org-openide-filesystems.jar:/home/apps/netbeans-6.8rc1/platform11/core/locale/org-openide-filesystems_ja.jar:/home/apps/netbeans-6.8rc1/platform11/core/locale/core_zh_CN.jar:/home/apps/netbeans-6.8rc1/platform11/core/locale/core_ja.jar:/home/apps/netbeans-6.8rc1/platform11/core/locale/org-openide-filesystems_zh_CN.jar:/home/apps/netbeans-6.8rc1/platform11/core/locale/org-openide-filesystems_pt_BR.jar:/home/apps/netbeans-6.8rc1/platform11/core/locale/core_pt_BR.jar:/home/apps/netbeans-6.8rc1/nb6.8/core/org-netbeans-upgrader.jar:/home/apps/netbeans-6.8rc1/nb6.8/core/locale/org-netbeans-upgrader_ja.jar:/home/apps/netbeans-6.8rc1/nb6.8/core/locale/core_nb_zh_CN.jar:/home/apps/netbeans-6.8rc1/nb6.8/core/locale/core_nb_ja.jar:/home/apps/netbeans-6.8rc1/nb6.8/core/locale/core_nb.jar:/home/apps/netbeans-6.8rc1/nb6.8/core/locale/org-netbeans-upgrader_zh_CN.jar:/home/apps/netbeans-6.8rc1/nb6.8/core/locale/core_nb_pt_BR.jar:/home/apps/netbeans-6.8rc1/nb6.8/core/locale/org-netbeans-upgrader_pt_BR.jar
-------------------------------------------------------------------------------
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
org.openide.util [7.31.1.1 1 200911252200]
org.openide.modules [7.13.1 200911252200]
org.openide.filesystems [7.32.1.1.1 1 200911252200]
org.netbeans.modules.editor.mimelookup/1 [1.14.1 200911252200]
org.openide.awt [7.19.1.1 200911252200]
org.jdesktop.layout/1 [1.10.1.103 103 200911252200]
org.netbeans.api.progress/1 [1.16.1.1 1 200911252200]
org.openide.dialogs [7.13.1 200911252200]
org.openide.nodes [7.12.1.1 200911252200]
org.openide.windows [6.30.1 200911252200]
org.openide.text [6.27.1 200911252200]
org.netbeans.modules.editor.guards/1 [1.6.1 200911252200]
org.netbeans.modules.java.guards/0 [0.8.1 200911252200]
org.netbeans.modules.queries/1 [1.17.1 200911252200]
org.netbeans.swing.outline [1.7.1 200911252200]
org.openide.explorer [6.22.1.1 1 200911252200]
org.openide.actions [6.12.1.1 200911252200]
org.openide.loaders [7.10.1 200911252200]
org.netbeans.modules.projectapi/1 [1.28.1 200911252200]
org.netbeans.modules.projectuiapi/1 [1.40.1.6 6 200911252200]
org.netbeans.modules.editor.util/1 [1.32.1 200911252200]
org.netbeans.modules.lexer/2 [1.33.1.1 1 200911252200]
org.openide.io [1.20.1 200911252200]
org.openide.execution [1.16.1 200911252200]
org.netbeans.api.java.classpath/1 [1.22.1 200911252200]
org.netbeans.api.java/1 [1.23.1 200911252200]
org.netbeans.modules.java.preprocessorbridge [1.10.1.1 1 200911252200]
org.netbeans.modules.java.platform/1 [1.15.1 200911252200]
org.netbeans.modules.editor.settings/1 [1.27.1 200911252200]
org.netbeans.modules.editor.settings.storage/1 [1.23.1 200911252200]
org.netbeans.libs.lucene/1 [2.8.1.232 232 200911252200]
org.netbeans.modules.editor.lib2/1 [1.18.1.2 2 200911252200]
org.netbeans.modules.editor.fold/1 [1.13.1 200911252200]
org.netbeans.modules.editor.lib/1 [1.44.1.9.2 9 200911252200]
org.netbeans.modules.parsing.api/1 [1.26.1.2 2 200911252200]
org.openidex.util/3 [3.23.1 200911252200]
org.netbeans.spi.quicksearch [1.4.1 200911252200]
org.netbeans.bootstrap/1 [2.22.1 200911252200]
org.netbeans.core.startup/1 [1.19.1.1 200911252200]
org.netbeans.swing.plaf [1.12.1 200911252200]
org.netbeans.core/2 [3.14.1.1 200911252200]
org.netbeans.modules.options.api/1 [1.16.1 200911252200]
org.netbeans.core.ui/1 [1.19.1.1 200911252200]
org.netbeans.modules.jumpto/1 [1.12.1 200911252200]
org.netbeans.libs.javacapi [0.11.1.1 1 200911252200]
org.netbeans.modules.java.lexer/1 [1.8.1 200911252200]
org.netbeans.modules.classfile/1 [1.25.1 200911252200]
org.netbeans.libs.javacimpl/1 [0.13.1.8 8 200911252200]
org.netbeans.api.annotations.common/1 [1.3.1 200911252200]
org.netbeans.modules.editor.errorstripe.api/1 [2.9.1.1 1 200911252200]
org.netbeans.modules.editor.errorstripe/2 [2.9.1.1.1 1 200911252200]
org.netbeans.modules.javahelp/1 [2.15.1 200911252200]
org.netbeans.swing.tabcontrol [1.19.1 200911252200]
org.netbeans.modules.editor.indent/2 [1.15.1.9 200911252200]
org.netbeans.modules.editor/3 [1.46.1.3.9.2 3 200911252200]
org.netbeans.modules.options.keymap [1.8.1 200911252200]
org.netbeans.modules.options.editor/1 [1.15.1 200911252200]
org.netbeans.modules.diff/1 [1.24.1.42.1 42 200911252200]
org.netbeans.modules.refactoring.api [1.8.1 200911252200]
org.netbeans.spi.tasklist/1 [1.9.1.1 1 200911252200]
org.netbeans.modules.masterfs/2 [2.20.1 200911252200]
org.netbeans.modules.java.source [0.52.1.8.8.2 8 200911252200]
org.netbeans.modules.java.sourceui/1 [1.11.1.1.8 1 200911252200]
org.netbeans.libs.jsr223/1 [1.12.1.6 6 200911252200]
org.netbeans.modules.templates [1.7.1 200911252200]
org.netbeans.api.xml/1 [1.20.1 200911252200]
org.netbeans.spi.navigator/1 [1.11.1 200911252200]
org.apache.tools.ant.module/3 [3.38.1.2 2 200911252200]
org.netbeans.modules.project.libraries/1 [1.23.1 200911252200]
org.apache.xml.resolver [1.9.1.12 12 200911252200]
org.netbeans.modules.xml.catalog/2 [1.18.1.4 4 200911252200]
org.netbeans.modules.project.ant/1 [1.35.1 200911252200]
org.netbeans.modules.java.project/1 [1.29.1 200911252200]
org.netbeans.modules.java.api.common/0 [1.12.1 200911252200]
org.netbeans.modules.extexecution/2 [1.18.1 200911252200]
org.netbeans.core.multiview/1 [1.16.1 200911252200]
org.netbeans.modules.gsf.testrunner [1.12.1 200911252200]
org.netbeans.libs.junit4 [1.7.1 200911252200]
org.netbeans.modules.gototest/1 [1.6.1 200911252200]
org.netbeans.modules.junit/2 [2.34.1 200911252200]
org.netbeans.modules.j2ee.metadata/0 [1.9.1 200911252200]
org.netbeans.modules.j2ee.metadata.model.support/1 [1.6.1 200911252200]
org.netbeans.modules.j2ee.persistenceapi/1 [1.9.1.1 1 200911252200]
org.netbeans.api.debugger/1 [1.20.1 200911252200]
org.netbeans.spi.viewmodel/2 [1.22.1 200911252200]
org.netbeans.api.debugger.jpda/2 [2.23.1 200911252200]
org.netbeans.modules.debugger.jpda.ant [1.14.1 200911252200]
org.netbeans.modules.ant.browsetask [1.18.1 200911252200]
org.netbeans.modules.java.j2seproject/1 [1.32.1.45 45 200911252200]
org.jdesktop.beansbinding/1 [1.5.1.121 121 200911252200]
org.netbeans.modules.java.examples/1 [1.13.1 200911252200]
org.netbeans.modules.editor.completion/1 [1.17.1.1 1 200911252200]
org.netbeans.spi.editor.hints/0 [1.10.1.7.2 7 200911252200]
org.netbeans.modules.editor.codetemplates/1 [1.14.1.1 1 200911252200]
org.netbeans.modules.j2ee.core.utilities/0 [1.6.1 200911252200]
org.netbeans.modules.versioning/1 [1.13.1.1.42.1 1 200911252200]
org.netbeans.modules.versioning.util [1.8.1.42.1 200911252200]
org.netbeans.modules.versioning.indexingbridge/0 [1.2.1 200911252200]
org.netbeans.modules.schema2beans/1 [1.22.1 200911252200]
org.netbeans.modules.xml.core/2 [1.19.1.4 4 200911252200]
org.netbeans.libs.xerces/1 [1.16.1.280 280 200911252200]
org.netbeans.modules.j2ee.dd/1 [1.16.1.2 2 200911252200]
org.netbeans.modules.j2ee.core/0 [1.3.1 200911252200]
org.netbeans.api.web.webmodule [1.18.1 200911252200]
org.netbeans.modules.web.client.tools.api [1.4.1 200911252200]
org.netbeans.modules.web.client.javascript.debugger.ant [0.10.1 200911252200]
org.netbeans.modules.j2ee.api.ejbmodule [1.14.1 200911252200]
org.netbeans.modules.java.editor.lib/1 [1.13.1 200911252200]
org.netbeans.modules.settings/1 [1.22.1.1 200911252200]
org.netbeans.core.ide/1 [1.18.1 200911252200]
org.netbeans.modules.server/0 [1.7.1 200911252200]
org.netbeans.modules.j2eeapis/1 [1.14.1 200911252200]
org.netbeans.modules.j2eeserver/4 [1.63.1.1 1 200911252200]
org.netbeans.modules.db.metadata.model/0 [0.6.1 200911252200]
org.netbeans.modules.db/1 [1.35.1.30 30 200911252200]
org.netbeans.modules.dbschema/1 [1.17.1.4.30 4 200911252200]
org.netbeans.modules.xml.multiview/1 [1.13.1.2 2 200911252200]
org.netbeans.modules.dbapi [1.11.1.30 200911252200]
org.netbeans.modules.j2ee.persistence [1.11.1.1 1 200911252200]
org.netbeans.modules.j2ee.common/1 [1.46.1 200911252200]
org.netbeans.modules.csl.api/1 [1.14.1.1.1.1.2 1 200911252200]
org.netbeans.modules.html.lexer/1 [1.7.1 200911252200]
org.netbeans.modules.editor.bracesmatching/0 [1.10.1 200911252200]
org.netbeans.modules.css.editor/1 [1.7.1 200911252200]
org.netbeans.modules.html.editor.lib/1 [1.23.1 200911252200]
org.netbeans.spi.palette/1 [1.20.1 200911252200]
org.netbeans.modules.html.editor/1 [1.17.1 200911252200]
org.netbeans.modules.j2ee.weblogic9/1 [1.13.1 200911252200]
org.netbeans.modules.j2ee.sun.dd/1 [1.13.1.1 1 200911252200]
org.netbeans.modules.xml.jaxb.api/1 [1.2.1 200911252200]
org.netbeans.libs.jaxb/1 [1.8.1 200911252200]
org.netbeans.modules.websvc.jaxws21api/1 [1.8.1 200911252200]
org.netbeans.modules.websvc.jaxws21/1 [1.8.1 200911252200]
org.netbeans.modules.identity.profile.api [1.8.1 200911252200]
org.netbeans.modules.j2ee.dd.webservice [1.12.1 200911252200]
org.netbeans.modules.websvc.websvcapi [1.12.1 200911252200]
org.netbeans.modules.derby [1.15.1 200911252200]
org.netbeans.modules.glassfish.eecommon/0 [1.4.1.1.1 1 200911252200]
org.netbeans.modules.j2ee.sun.appsrv/1 [1.13.1.1 1 200911252200]
org.netbeans.modules.j2ee.sun.ddui/1 [1.14.1.1.1 1 200911252200]
org.netbeans.modules.j2ee.sun.appsrv81/1 [1.10.1.1 1 200911252200]
org.netbeans.modules.identity.server.manager/1 [1.8.1 200911252200]
org.netbeans.modules.xml.xam/1 [1.8.1.1 1 200911252200]
org.netbeans.modules.xml.schema.model/1 [1.8.1.1 1 200911252200]
org.netbeans.modules.xml.wsdl.model/1 [1.8.1.1 1 200911252200]
org.netbeans.modules.xml.lexer [1.7.1 200911252200]
org.netbeans.modules.xml.xdm/1 [1.8.1.1 1 200911252200]
org.netbeans.modules.xml.retriever/1 [1.7.1 200911252200]
org.netbeans.modules.websvc.jaxwsmodelapi/1 [1.4.1 200911252200]
org.netbeans.modules.websvc.jaxwsmodel/1 [1.9.1 200911252200]
org.netbeans.modules.websvc.jaxwsapi [1.7.1 200911252200]
org.netbeans.modules.websvc.wsstackapi/0 [1.4.1 200911252200]
org.netbeans.modules.websvc.restapi/0 [1.4.1 200911252200]
org.netbeans.modules.websvc.saas.api [1.5.1 200911252200]
org.netbeans.modules.websvc.saas.codegen [1.5.1 200911252200]
org.netbeans.modules.websvc.saas.codegen.java [1.5.1 200911252200]
org.netbeans.modules.websvc.utilities/0 [1.6.1 200911252200]
org.netbeans.modules.websvc.wsstack.jaxws/0 [1.4.1 200911252200]
org.netbeans.modules.websvc.projectapi/0 [1.3.1 200911252200]
org.netbeans.modules.websvc.clientapi [1.12.1 200911252200]
org.netbeans.modules.websvc.core [1.14.1.1.4 1 200911252200]
org.netbeans.modules.autoupdate.services [1.16.1 200911252200]
org.netbeans.modules.websvc.wsitmodelext [3.8.1 200911252200]
org.netbeans.modules.websvc.jaxws.lightapi [1.3.1 200911252200]
org.netbeans.api.visual [2.21.1 200911252200]
org.netbeans.modules.websvc.design [1.6.1 200911252200]
org.netbeans.modules.websvc.wsitconf [3.9.1 200911252200]
org.netbeans.modules.identity.profile.ui [1.7.1 200911252200]
org.netbeans.libs.commons_fileupload/1 [1.6.1 200911252200]
org.netbeans.spi.debugger.ui/1 [2.19.1 200911252200]
org.netbeans.modules.debugger.jpda.projects [1.9.1 200911252200]
org.netbeans.modules.debugger.jpda/2 [1.26.1 200911252200]
org.netbeans.modules.java.navigation/1 [1.13.1 200911252200]
org.netbeans.modules.refactoring.java/1 [1.9.1 200911252200]
org.netbeans.modules.java.editor/1 [2.20.1.5.1.1 5 200911252200]
org.netbeans.modules.beans/1 [1.24.1.1.5 1 200911252200]
org.netbeans.modules.ant.freeform/1 [1.22.1 200911252200]
org.netbeans.modules.java.freeform/1 [1.13.1 200911252200]
org.netbeans.modules.java.j2seplatform/1 [1.15.1 200911252200]
org.netbeans.modules.projectimport.eclipse.core/1 [2.7.1 200911252200]
org.netbeans.modules.java.hints/1 [1.30.1.4.5 4 200911252200]
org.netbeans.modules.editor.structure/1 [1.21.1.1 1 200911252200]
org.netbeans.modules.xml.text/2 [1.20.1.5 5 200911252200]
org.netbeans.modules.xml.axi [1.8.1 200911252200]
org.netbeans.modules.xml [1.6.1 200911252200]
org.netbeans.modules.xml.tax/2 [1.20.1.280 200911252200]
org.netbeans.modules.xml.tools/2 [1.20.1 200911252200]
org.netbeans.modules.xml.tools.java [1.6.1 200911252200]
org.netbeans.modules.xml.jaxb/1 [1.6.1 200911252200]
org.netbeans.modules.javadoc/1 [1.29.1 200911252200]
org.netbeans.modules.properties/1 [1.30.1 200911252200]
org.netbeans.modules.i18n/1 [1.29.1 200911252200]
org.netbeans.modules.java.debug [1.8.1.1.8.8 1 200911252200]
org.netbeans.modules.javawebstart [1.6.1 200911252200]
org.netbeans.modules.java.source.ant [1.7.1.1.8 1 200911252200]
org.netbeans.modules.ant.debugger/1 [1.14.1.2 200911252200]
org.netbeans.core.execution/1 [1.16.1.1 200911252200]
org.netbeans.modules.favorites/1 [1.18.1 200911252200]
org.netbeans.modules.projectui [1.19.1.1.6 1 200911252200]
org.netbeans.modules.projectui.buildmenu/1 [1.4.1.1 1 200911252200]
org.netbeans.swing.dirchooser [1.6.1 200911252200]
org.netbeans.modules.editor.bookmarks/1 [1.10.1 200911252200]
org.mozilla.rhino.patched/1 [1.107.1 200911252200]
org.netbeans.modules.javascript.editing/1 [0.91.1 200911252200]
org.netbeans.modules.javascript.refactoring/1 [0.66.1 200911252200]
org.netbeans.modules.javascript.hints/1 [0.41.1 200911252200]
org.netbeans.modules.javascript.kit/1 [0.108.1 200911252200]
org.netbeans.modules.editor.actions/1 [1.2.1.2 200911252200]
org.netbeans.libs.bytelist/1 [0.5.1.1 1 200911252200]
org.netbeans.libs.jvyamlb/1 [0.7.1 200911252200]
org.netbeans.modules.languages.yaml [2.5.1 200911252200]
org.netbeans.modules.xml.schema.completion [1.6.1 200911252200]
org.netbeans.core.browser/1 [1.4.1.1 1 200911252200]
org.netbeans.core.output2/1 [1.14.1.1 1 200911252200]
org.netbeans.modules.editor.plain.lib/1 [1.10.1 200911252200]
org.netbeans.modules.web.flyingsaucer/1 [1.6.1.1 1 200911252200]
org.netbeans.modules.css.visual/1 [2.8.1 200911252200]
org.netbeans.modules.servletapi/1 [1.17.1 200911252200]
org.netbeans.modules.httpserver/2 [2.13.1.42 42 200911252200]
org.netbeans.modules.xsl/1 [1.20.1 200911252200]
org.netbeans.modules.languages.manifest [1.9.1 200911252200]
org.netbeans.modules.languages.diff [1.10.1 200911252200]
org.netbeans.modules.image/1 [1.25.1 200911252200]
org.netbeans.modules.html/1 [1.28.1 200911252200]
org.netbeans.modules.editor.kit [1.7.1 200911252200]
org.netbeans.modules.sendopts/2 [2.7.1 200911252200]
org.netbeans.modules.utilities/1 [1.33.1 200911252200]
org.netbeans.modules.tasklist.ui/1 [1.8.1.1 200911252200]
org.netbeans.modules.tasklist.todo/1 [1.7.1.1 1 200911252200]
org.netbeans.modules.tasklist.projectint/1 [1.6.1 200911252200]
org.netbeans.modules.tasklist.kit [1.6.1 200911252200]
org.netbeans.modules.usersguide/1 [1.26.1 200911252200]
org.netbeans.modules.print.editor [7.3.1 200911252200]
org.netbeans.modules.target.iterator/1 [1.0.1 200911252200]
org.netbeans.modules.editor.plain/2 [1.11.1 200911252200]
org.netbeans.modules.autoupdate.ui [1.14.1 200911252200]
org.netbeans.modules.print [7.3.1 200911252200]
org.netbeans.core.windows/2 [2.17.1.1 200911252200]
org.netbeans.modules.core.kit [1.6.1 200911252200]
org.netbeans.modules.editor.macros/0 [1.6.1.1.9 1 200911252200]
org.netbeans.modules.extbrowser/1 [1.17.1 200911252200]
org.netbeans.modules.defaults/1 [1.9.1 200911252200]
org.netbeans.modules.ide.kit [1.9.1 200911252200]
org.netbeans.modules.ant.kit [1.6.1 200911252200]
org.netbeans.modules.java.helpset/1 [1.6.1 200911252200]
org.netbeans.modules.java.kit [1.7.1 200911252200]
org.netbeans.modules.debugger.jpda.ui/1 [1.12.1 200911252200]
org.netbeans.modules.web.debug/1 [2.16.1 200911252200]
org.netbeans.modules.web.examples/1 [1.13.1 200911252200]
org.netbeans.modules.j2ee.samples [1.8.1 200911252200]
org.netbeans.modules.web.monitor/1 [1.23.1 200911252200]
org.netbeans.modules.j2ee.ant [1.15.1.1 200911252200]
org.netbeans.modules.servletjspapi/1 [1.7.1.25 25 200911252200]
org.netbeans.libs.glassfish_logging/1 [1.7.1.20 20 200911252200]
org.netbeans.modules.web.jspparser/3 [3.6.1 200911252200]
org.netbeans.modules.web.project [1.21.1.1 1 200911252200]
org.netbeans.modules.j2ee.ejbcore [1.13.1 200911252200]
org.netbeans.modules.j2ee.ddloaders/1 [1.14.1.2 200911252200]
org.netbeans.modules.j2ee.jboss4/1 [1.15.1 200911252200]
org.netbeans.libs.swingx/1 [1.4.1 200911252200]
org.netbeans.modules.db.dataview [1.5.1 200911252200]
org.netbeans.modules.db.core [1.12.1 200911252200]
org.netbeans.modules.db.sql.editor [1.12.1.30 200911252200]
org.netbeans.modules.db.sql.visualeditor/1 [2.7.1.30 200911252200]
org.netbeans.modules.db.mysql [0.5.1.2 2 200911252200]
org.netbeans.modules.db.drivers [1.6.1 200911252200]
org.netbeans.modules.db.kit [1.7.1 200911252200]
org.netbeans.modules.j2ee.toplinklib/1 [2.14.1 200911252200]
org.netbeans.modules.j2ee.jpa.verification [1.9.1 200911252200]
org.netbeans.modules.j2ee.eclipselink [1.2.1 200911252200]
org.netbeans.modules.j2ee.jpa.refactoring [1.6.1 200911252200]
org.netbeans.modules.j2ee.persistence.kit [1.6.1 200911252200]
org.netbeans.modules.el.lexer/1 [1.7.1 200911252200]
org.netbeans.modules.jsp.lexer/1 [1.7.1 200911252200]
org.netbeans.modules.web.core.syntax/2 [2.7.1.2.5 2 200911252200]
org.netbeans.modules.web.core/2 [2.7.1.43.2 43 200911252200]
org.netbeans.modules.web.freeform [1.12.1 200911252200]
org.netbeans.modules.glassfish.common/0 [1.4.1 200911252200]
org.netbeans.modules.glassfish.javaee/0 [1.3.1 200911252200]
org.netbeans.modules.web.helpset/0 [1.3.1 200911252200]
org.netbeans.modules.web.jstl11/1 [2.14.1.112 112 200911252200]
org.netbeans.modules.j2ee.genericserver [1.12.1 200911252200]
org.netbeans.modules.tomcat5/1 [1.16.1 200911252200]
org.netbeans.modules.web.refactoring [1.6.1.43 200911252200]
org.netbeans.modules.web.kit [1.6.1 200911252200]
org.netbeans.modules.web.struts/1 [1.11.1.1 1 200911252200]
org.netbeans.lib.profiler/1 [1.8.1 200911252200]
org.netbeans.lib.profiler.common/1 [1.8.1 200911252200]
org.netbeans.lib.profiler.charts/1 [1.4.1 200911252200]
org.netbeans.lib.profiler.ui/1 [1.7.1 200911252200]
org.netbeans.modules.profiler.utilities/1 [1.10.1 200911252200]
org.netbeans.modules.profiler.attach/1 [1.5.1 200911252200]
org.netbeans.modules.profiler.oql/0 [0.3.1 200911252200]
org.netbeans.modules.profiler.projectsupport [1.5.1 200911252200]
org.netbeans.modules.profiler.selector.spi/1 [1.9.1 200911252200]
org.netbeans.modules.profiler.selector.ui/1 [1.5.1 200911252200]
org.netbeans.modules.profiler/1 [1.14.1 200911252200]
org.netbeans.modules.profiler.j2ee.jboss/1 [1.9.1 200911252200]
org.netbeans.libs.ini4j/1 [1.7.1 200911252200]
org.netbeans.modules.mercurial [1.11.1.42.1 200911252200]
org.netbeans.libs.smack [3.4.1 200911252200]
org.netbeans.modules.kenai [0.8.1 200911252200]
org.netbeans.lib.cvsclient/1 [1.21.1 200911252200]
org.netbeans.libs.jzlib/1 [1.2.1.107 107 200911252200]
org.netbeans.libs.jsch/1 [1.12.1 200911252200]
org.netbeans.modules.versioning.system.cvss/1 [1.15.1.1.42.1 1 200911252200]
org.netbeans.libs.svnClientAdapter/1 [1.9.1 200911252200]
org.netbeans.modules.subversion [1.8.1.42.1 200911252200]
org.netbeans.modules.kenai.ui [0.6.1 200911252200]
org.netbeans.libs.commons_codec/1 [1.3.1 200911252200]
org.netbeans.libs.commons_logging/1 [1.11.1.11 11 200911252200]
org.netbeans.libs.bugtracking [1.3.1.1 1 200911252200]
org.netbeans.modules.bugtracking [1.5.1 200911252200]
org.netbeans.modules.bugtracking.bridge [1.3.1 200911252200]
org.netbeans.modules.j2ee.clientproject [1.14.1.1 1 200911252200]
org.netbeans.modules.j2ee.ejbjarproject [1.19.1 200911252200]
org.netbeans.modules.j2ee.earproject [1.17.1 200911252200]
org.netbeans.modules.hudson [1.4.1 200911252200]
org.netbeans.modules.hudson.mercurial [1.3.1 200911252200]
org.netbeans.libs.freemarker/1 [2.9.1.238 238 200911252200]
org.netbeans.modules.hibernatelib/1 [1.4.1.325.238 325 200911252200]
org.netbeans.modules.hibernate/1 [1.5.1.1 1 200911252200]
org.netbeans.libs.scala/1 [2.8.0.19784 091128-b59812c6b97a]
xtc [1.14.3 091128-b59812c6b97a]
org.netbeans.modules.scala.core [0.1.4.2 091128-b59812c6b97a]
org.netbeans.modules.scala.editor [0.1.19.1.2 091128-b59812c6b97a]
org.netbeans.modules.websvc.restlib/0 [1.5.1 200911252200]
org.netbeans.modules.profiler.j2ee.generic/1 [1.9.1 200911252200]
org.netbeans.modules.form/2 [1.28.1.2 2 200911252200]
org.netbeans.modules.swingapp [1.7.1.2 200911252200]
org.netbeans.upgrader [4.12.1 200911252200]
org.netbeans.modules.websvc.saas.services.google [1.5.1 200911252200]
org.netbeans.modules.j2ee.ejbrefactoring [1.6.1 200911252200]
org.netbeans.modules.maven.embedder/1 [1.4.1 200911252200]
org.netbeans.modules.maven.model/1 [1.4.1 200911252200]
org.netbeans.modules.maven.indexer/1 [1.4.1 200911252200]
org.netbeans.modules.swing.validation/1 [1.2.1 200911252200]
org.netbeans.modules.maven/1 [1.4.1 200911252200]
org.netbeans.modules.projectimport.eclipse.web [1.5.1.1 200911252200]
org.netbeans.modules.profiler.selector.java [1.3.1 200911252200]
org.netbeans.modules.profiler.j2se/1 [1.9.1 200911252200]
org.netbeans.modules.reglib [1.6.1 200911252200]
org.netbeans.modules.registration [1.5.1 200911252200]
org.netbeans.modules.hudson.kenai [1.3.1 200911252200]
org.netbeans.modules.websvc.metro.lib/1 [1.9.1 200911252200]
org.netbeans.modules.maven.repository/1 [1.4.1 200911252200]
org.netbeans.modules.web.jsf20/1 [1.3.1.1 1 200911252200]
org.netbeans.modules.web.jsf/1 [1.15.1.2.43.2 2 200911252200]
org.netbeans.modules.web.jsf.editor [1.3.1 200911252200]
org.netbeans.libs.jna/1 [1.5.1 200911252200]
org.netbeans.modules.extexecution.destroy [1.2.1 200911252200]
org.netbeans.modules.websvc.saas.services.zillow [1.5.1 200911252200]
org.netbeans.modules.websvc.saas.services.facebook [1.5.1 200911252200]
org.netbeans.modules.websvc.saas.services.delicious [1.5.1 200911252200]
org.netbeans.modules.scala.debugger.projects [0.14.6 091128-b59812c6b97a]
org.netbeans.modules.scala.debugger [0.12.1 091128-b59812c6b97a]
org.netbeans.modules.languages.execution [0.10.1 091128-b59812c6b97a]
org.netbeans.modules.profiler.attach.impl/2 [1.5.1 200911252200]
org.netbeans.modules.websvc.metro.samples/1 [1.7.1 200911252200]
org.netbeans.modules.websvc.saas.services.flickr [1.5.1 200911252200]
org.netbeans.modules.apisupport.ant [2.37.1 200911252200]
org.netbeans.modules.apisupport.project [1.31.1.7 7 200911252200]
org.netbeans.modules.maven.apisupport/1 [1.4.1 200911252200]
org.netbeans.modules.websvc.rest.samples/0 [1.4.1 200911252200]
org.netbeans.modules.scala.console [0.10.4 091128-b59812c6b97a]
org.netbeans.modules.scala.platform [0.11.2 091128-b59812c6b97a]
org.netbeans.modules.scala.refactoring [0.2.1 091128-b59812c6b97a]
org.netbeans.modules.scala.stdplatform [0.11.4 091128-b59812c6b97a]
org.netbeans.modules.scala.project [1.3.4 091128-b59812c6b97a]
org.netbeans.modules.scala.kit [0.16.1 091128-b59812c6b97a]
org.netbeans.modules.websvc.saas.services.zvents [1.5.1 200911252200]
org.netbeans.libs.bugzilla [1.3.1 200911252200]
org.netbeans.modules.bugzilla [1.4.1 200911252200]
org.netbeans.modules.team.kit [1.3.1 200911252200]
org.netbeans.modules.autoupdate.pluginimporter [0.4.1 200911252200]
org.netbeans.modules.web.jsf12/1 [1.6.1.12 12 200911252200]
org.netbeans.modules.javaee.api [1.2.1 200911252200]
org.netbeans.modules.profiler.j2ee/1 [1.9.1 200911252200]
org.netbeans.modules.j2ee.platform/1 [1.12.1 200911252200]
org.netbeans.modules.j2ee.ejbverification [1.7.1 200911252200]
org.netbeans.modules.j2ee.archive [1.7.1 200911252200]
org.netbeans.modules.j2ee.kit [1.6.1 200911252200]
org.netbeans.modules.ide.ergonomics [1.6.1 200911252200]
org.netbeans.core.nativeaccess/1 [1.5.1 200911252200]
org.netbeans.modules.updatecenters/1 [1.17.1 200911252200]
org.netbeans.modules.websvc.customization [1.7.1.2 200911252200]
org.netbeans.lib.uihandler [1.20.1 200911252200]
org.netbeans.modules.uihandler [2.10.1 200911252200]
org.netbeans.modules.maven.jaxws [1.4.1 200911252200]
org.netbeans.modules.projectimport.eclipse.j2se [1.5.1.45 200911252200]
org.netbeans.modules.websvc.editor.hints [1.7.1 200911252200]
org.netbeans.core.io.ui/1 [1.4.1.1 1 200911252200]
org.netbeans.modules.websvc.saas.services.weatherbug [1.5.1 200911252200]
org.netbeans.modules.websvc.saas.services.strikeiron [1.5.1 200911252200]
org.netbeans.modules.websvc.saas.services.amazon [1.5.1 200911252200]
org.netbeans.modules.websvc.saas.services.yahoo [1.5.1 200911252200]
org.netbeans.modules.websvc.saas.services.twitter [1.5.1 200911252200]
org.netbeans.modules.websvc.saas.ui [1.5.1 200911252200]
org.netbeans.modules.websvc.saas.kit [1.4.1 200911252200]
org.netbeans.modules.form.j2ee/0 [0.8.1.1.2 1 200911252200]
org.netbeans.modules.debugger.jpda.heapwalk/1 [1.7.1 200911252200]
org.netbeans.modules.web.jsf.navigation/1 [2.6.1 200911252200]
org.netbeans.modules.uihandler.exceptionreporter [1.6.1 200911252200]
org.netbeans.modules.welcome/1 [1.18.1 200911252200]
org.netbeans.modules.identity.ant/1 [1.6.1 200911252200]
org.netbeans.libs.cglib/1 [1.4.1 200911252200]
org.netbeans.libs.springframework [1.5.1 200911252200]
org.netbeans.modules.maven.persistence/1 [1.4.1 200911252200]
org.netbeans.modules.ide.branding/1 [1.10.1 200911252200]
org.netbeans.modules.websvc.saas.codegen.j2ee [1.5.1 200911252200]
org.netbeans.modules.websvc.manager [1.6.1 200911252200]
org.netbeans.modules.websvc.metro.model [1.3.1 200911252200]
org.netbeans.modules.websvc.kit [1.6.1 200911252200]
org.netbeans.modules.websvc.rest/0 [1.4.1 200911252200]
org.netbeans.modules.websvc.restkit/0 [1.4.1 200911252200]
org.netbeans.modules.utilities.project/1 [1.13.1 200911252200]
org.netbeans.modules.hudson.maven [1.4.1 200911252200]
org.netbeans.modules.hudson.subversion [1.3.1 200911252200]
org.netbeans.modules.localhistory [1.7.1 200911252200]
org.netbeans.modules.apisupport.refactoring [1.10.1.7 200911252200]
org.netbeans.modules.ant.grammar/1 [1.21.1 200911252200]
org.netbeans.modules.editor.mimelookup.impl/1 [1.7.1 200911252200]
org.netbeans.modules.spring.beans/0 [1.9.1.1 1 200911252200]
org.netbeans.modules.maven.spring/1 [1.4.1 200911252200]
org.netbeans.modules.profiler.oql.language/0 [0.4.1 200911252200]
org.netbeans.modules.maven.samples/1 [1.3.1 200911252200]
org.netbeans.modules.profiler.freeform/1 [1.9.1 200911252200]
org.netbeans.modules.hudson.ant [1.3.1 200911252200]
org.netbeans.modules.identity.samples/1 [1.8.1 200911252200]
org.netbeans.modules.maven.grammar/1 [1.4.1 200911252200]
org.netbeans.modules.maven.graph/1 [1.4.1 200911252200]
org.netbeans.modules.maven.kit/1 [4.4.1 200911252200]
org.netbeans.modules.profiler.nbmodule/1 [1.9.1 200911252200]
org.netbeans.modules.maven.search [1.4.1 200911252200]
org.netbeans.modules.properties.syntax/1 [1.24.1 200911252200]
org.netbeans.modules.lexer.nbbridge/1 [1.8.1.1 200911252200]
org.netbeans.modules.spring.webmvc [1.7.1 200911252200]
org.netbeans.modules.web.jsf12ri/1 [1.6.1.12 12 200911252200]
org.netbeans.modules.web.jsf.kit [1.6.1 200911252200]
org.netbeans.modules.maven.hints/1 [1.5.1 200911252200]
org.netbeans.modules.identity.kit [1.6.1 200911252200]
org.netbeans.modules.kenai.maven [1.2.1 200911252200]
org.netbeans.modules.profiler.j2ee.tomcat/1 [1.9.1 200911252200]
org.netbeans.modules.progress.ui [1.6.1.1 200911252200]
org.netbeans.modules.i18n.form/2 [1.27.1.2 200911252200]
org.netbeans.modules.form.kit [1.6.1 200911252200]
org.netbeans.modules.maven.j2ee/1 [1.5.1 200911252200]
org.netbeans.modules.profiler.j2ee.sunas/1 [1.9.1 200911252200]
org.netbeans.modules.hibernateweb [1.4.1 200911252200]
org.netbeans.modules.profiler.j2ee.weblogic/1 [1.9.1 200911252200]
org.netbeans.modules.maven.profiler/1 [1.4.1 200911252200]
org.netbeans.modules.ide.branding.kit [1.6.1 200911252200]
Diagnostic information
Input arguments:
-Djdk.home=/home/apps/jdk1.6.0
-Dnetbeans.system_http_proxy=DIRECT
-Dnetbeans.system_http_non_proxy_hosts=
-Dnetbeans.dirs=/home/apps/netbeans-6.8rc1/nb6.8:/home/apps/netbeans-6.8rc1/ide12:/home/apps/netbeans-6.8rc1/java3:/home/apps/netbeans-6.8rc1/ergonomics2:/home/apps/netbeans-6.8rc1/bin/../xml2:/home/apps/netbeans-6.8rc1/apisupport1:/home/apps/netbeans-6.8rc1/bin/../webcommon1:/home/apps/netbeans-6.8rc1/websvccommon1:/home/apps/netbeans-6.8rc1/enterprise6:/home/apps/netbeans-6.8rc1/bin/../mobility8:/home/apps/netbeans-6.8rc1/profiler3:/home/apps/netbeans-6.8rc1/bin/../ruby2:/home/apps/netbeans-6.8rc1/bin/../python1:/home/apps/netbeans-6.8rc1/bin/../php1:/home/apps/netbeans-6.8rc1/bin/../visualweb2:/home/apps/netbeans-6.8rc1/bin/../soa2:/home/apps/netbeans-6.8rc1/identity2:/home/apps/netbeans-6.8rc1/bin/../uml6:/home/apps/netbeans-6.8rc1/harness:/home/apps/netbeans-6.8rc1/bin/../cnd3:/home/apps/netbeans-6.8rc1/bin/../dlight2:/home/apps/netbeans-6.8rc1/bin/../groovy2:/home/apps/netbeans-6.8rc1/bin/../extra:/home/apps/netbeans-6.8rc1/bin/../javafx2:/home/apps/netbeans-6.8rc1/bin/../javacard1:
-Dnetbeans.home=/home/apps/netbeans-6.8rc1/platform11
-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense
-Xmx512m
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/home/cay/.netbeans/6.8rc1/var/log/heapdump.hprof
Compiler: HotSpot Tiered Compilers
Heap memory usage: initial 0b maximum 493.1MB
Non heap memory usage: initial 18.2MB maximum 112.0MB
Garbage collector: PS Scavenge (Collections=24 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=3 Total time spent=0s)
Classes: loaded=5165 total loaded=5165 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 3,113,684,992
INFO [org.netbeans.modules.autoupdate.pluginimporter.PluginImporter]: Plugin net.java.nboglpack.glsleditor[net.java.nboglpack.glsleditor/1.3.4] cannot be install because not all dependencies can be match: [module javax.xml.bind > 2.1.4, module net.java.nboglpack.glslcompiler > 1.1.3]
INFO [org.netbeans.modules.autoupdate.pluginimporter.PluginImporter]: Plugin net.java.nboglpack.joglproject[net.java.nboglpack.joglproject/1.7] cannot be install because not all dependencies can be match: [module javax.media.opengl > 1.1.1.4, module com.sun.gluegen > 1.0.6]
INFO [org.netbeans.modules.autoupdate.pluginimporter.PluginImporter]: Plugin net.java.nboglpack.joglintegration[net.java.nboglpack.joglintegration/1.0.2] cannot be install because not all dependencies can be match: [module javax.media.opengl > 1.0]
INFO [org.netbeans.modules.autoupdate.pluginimporter.PluginImporter]: Plugin net.java.nboglpack.glcapabilities[net.java.nboglpack.glcapabilities/1.2.2] cannot be install because not all dependencies can be match: [module javax.beans.binding > 1.0, module net.java.nboglpack.joglutils > 1.0, module javax.media.opengl > 1.0]
INFO [org.netbeans.modules.autoupdate.pluginimporter.PluginImporter]: Inspecting plugins took 361 ms
INFO [org.netbeans.modules.autoupdate.pluginimporter.Installer]: Plugins for import with broken dependencies: [net.java.nboglpack.glsleditor[net.java.nboglpack.glsleditor/1.3.4], net.java.nboglpack.joglproject[net.java.nboglpack.joglproject/1.7], net.java.nboglpack.joglintegration[net.java.nboglpack.joglintegration/1.0.2], net.java.nboglpack.glcapabilities[net.java.nboglpack.glcapabilities/1.2.2]]
INFO [org.netbeans.modules.autoupdate.pluginimporter.Installer]: 6 available plugins for import in /home/cay/.netbeans/6.7
FINE [org.netbeans.modules.project.ant.AntBasedProjectFactorySingleton]: parsed document
FINE [org.netbeans.m
Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [ANN] Scala plugin for NetBeans 6.8RC1 available
Cay Horstmann
Joined: 2009-09-04,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

Actually, simply renaming ~/.netbeans/6.7 did the trick. Thanks!

Cay

On Wed, Dec 2, 2009 at 9:39 PM, Caoyuan wrote:
> From the log, it seems the old 6.7 configuration file was imported? If
> so, please try following steps:
>
> 1. remove .netbeans/6.7 or backed mv it outside from .netbeans
> 2. remove .netbeans/6.8rc1, restart netbeans 6.8rc1 and re-install Scala-plugins
> 3. Answering no to the question of importing old configuration of ...
> if it shows.
>
> -Caoyuan
>
> On Thu, Dec 3, 2009 at 1:25 PM,   wrote:
>> I added -J-Xmx1024m to the default options, so I don't think that's the
>> problem. Now I uninstalled and reinstalled the plugin one more time and for
>> the first time was able to open a new Scala project. However, when I copied
>> over some code from a project that works fine in Eclipse, NetBeans froze
>> right away.

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

On Thu, Dec 3, 2009 at 10:35 PM, Cay Horstmann wrote:
> Actually, simply renaming ~/.netbeans/6.7 did the trick. Thanks!

Thanks for the confirmation, I've added notes on wiki.netbeans.org/Scala68v1

--Caoyuan

>
> Cay
>
> On Wed, Dec 2, 2009 at 9:39 PM, Caoyuan wrote:
>> From the log, it seems the old 6.7 configuration file was imported? If
>> so, please try following steps:
>>
>> 1. remove .netbeans/6.7 or backed mv it outside from .netbeans
>> 2. remove .netbeans/6.8rc1, restart netbeans 6.8rc1 and re-install Scala-plugins
>> 3. Answering no to the question of importing old configuration of ...
>> if it shows.
>>
>> -Caoyuan
>>
>> On Thu, Dec 3, 2009 at 1:25 PM,   wrote:
>>> I added -J-Xmx1024m to the default options, so I don't think that's the
>>> problem. Now I uninstalled and reinstalled the plugin one more time and for
>>> the first time was able to open a new Scala project. However, when I copied
>>> over some code from a project that works fine in Eclipse, NetBeans froze
>>> right away.
>

Sciss
Joined: 2008-12-17,
User offline. Last seen 28 weeks 5 days ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

hi caoyuan,

i have been using this for two weeks now, it works very nicely, so
thanks a bunch!

one thing i am missing is the debugging. i cannot really set
breakpoints, it complains they are in unreachable positions (or so).
are you aware of this?

keep the good work! cheers, -sciss-

Am 30.11.2009 um 13:45 schrieb Caoyuan:

> I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is
> available for download.
>
> New & Noteworthy
>
> * Fixed: Error and warning markers on Windows
> * Fixed: Go-To-Source on Windows
> * Fixed: Go-To-Source across dependent Maven projects.
> * Use dependencies aware scalac task instead of fsc for default
> Scala project
> * Much more responsive when typing and for code-completion
> * More refactoring: find usages, rename across opened projects
> * Breakpoint works everywhere
> * Better supporting for mixed Java/Scala project in both direction
> (Java is visible in Scala and vice versa)
> * Better integration with NetBeans maven plugin
> * Better code completion even for implicit methods (in most cases)
> * Better indentation and formatter for unfinished line after if,
> else, =, for, while, do etc
> * Better syntax highlighting for val/var, lazy val, implicit call,
> byname param, abstract method etc
> * Mark of implemented/overridden methods, click on mark will jump
> to super definition
> * Go to type ("Ctrl+O")
> * Select parts of code, press {, [, (, ", ` will add/replace
> surrounding pair, press ~ will remove them. Specially, press / will
> block-comment it
> * Reset Scala interactive parser when necessary, for instance:
> dependent libs changed (Right click on source, choose "Reset Scala
> Parser" in pop-up menu)
> * Output highlighted code to html ([File] -> [PrintToHTML...]) (Can
> be then copied/pasted to Word, PowerPoint, Keynote etc. See example)
> * Some basic hints, for instance: fixing import, unused imports
> * Code template now works, check or add your own via [Options/
> Preferences] -> [Editor] -> [Code Templates] -> [Scala]
>
> Install with NetBeans 6.8RC1
>
> * Download and install the latest Scala-2.8.0 snapshot runtime via
> http://www.scala-lang.org/archives/downloads/distrib/files/nightly/
> distributions/scala-2.8.0.latest.zip
> * Set $SCALA_HOME environment variable to point to the installed
> Scala runtime path. Add $SCALA_HOME/bin to PATH environment variable.
> ** Note for Mac OS user, $SCALA_HOME environment variable may not
> be visible for Applications/NetBeans, see http://wiki.netbeans.org/
> MacOSXEnvForApp
> ** Note for Linux user, if your $SCALA_HOME environment variable
> is not visible for Applications/NetBeans, see http://
> wiki.netbeans.org/LinuxEnvForApp
> * Get the NetBeans 6.8RC1 from: http://dlc.sun.com.edgesuite.net/
> netbeans/6.8/rc/
> * Get the Scala plugins binary from: https://sourceforge.net/
> projects/erlybird/files/nb-scala/nb-scala-6.8v1.1.0
> * Unzip Scala plugin binary to somewhere
> * Open NetBeans, go to "Tools" | "Plugins", click on "Downloaded"
> tab title, click on "Add Plugins..." button, choose the directory
> where the Scala plugins are unzipped,
> select all listed *.nbm files, following the instructions.
> * Edit $NetBeansInstallationPath/etc/netbeans.conf
> ** set better maximum heap memory size, for instance: -J-Xmx1024m
> ** remove "-J-ea" if there is one to avoid AssertionError window
> popup
>
> Old Projects Created Before 6.8v1.1.0beta Should Modify Their
> Project Properties
> * All projects created via "File" | "New Project" before nb-
> scala-6.8v1.1.0beta should add or change following lines in
> "nbproject/project.properties"
> scalac.compilerargs=
> scalac.deprecation=no
> scalac.unchecked=no
>
>
> For most recent update information, please visit:
> http://wiki.netbeans.org/Scala68v1
>

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

Hi Sciss,

I think almost all valid breakpoints should work, except those that
are not contains information in class files, for instance, the var/val
declaration statements. Would you please give me some example code
that do not work?

Thanks.

-Caoyuan

On Fri, Dec 11, 2009 at 8:51 PM, Sciss wrote:
> hi caoyuan,
>
> i have been using this for two weeks now, it works very nicely, so thanks a
> bunch!
>
> one thing i am missing is the debugging. i cannot really set breakpoints, it
> complains they are in unreachable positions (or so). are you aware of this?
>
> keep the good work! cheers, -sciss-
>
>
> Am 30.11.2009 um 13:45 schrieb Caoyuan:
>
>> I'm proud to announce that Scala plugin for NetBeans 6.8RC1 is available
>> for download.
>>
>> New & Noteworthy
>>
>> * Fixed: Error and warning markers on Windows
>> * Fixed: Go-To-Source on Windows
>> * Fixed: Go-To-Source across dependent Maven projects.
>> * Use dependencies aware scalac task instead of fsc for default Scala
>> project
>> * Much more responsive when typing and for code-completion
>> * More refactoring: find usages, rename across opened projects
>> * Breakpoint works everywhere
>> * Better supporting for mixed Java/Scala project in both direction (Java
>> is visible in Scala and vice versa)
>> * Better integration with NetBeans maven plugin
>> * Better code completion even for implicit methods (in most cases)
>> * Better indentation and formatter for unfinished line after if, else, =,
>> for, while, do etc
>> * Better syntax highlighting for val/var, lazy val, implicit call, byname
>> param, abstract method etc
>> * Mark of implemented/overridden methods, click on mark will jump to super
>> definition
>> * Go to type ("Ctrl+O")
>> * Select parts of code, press {, [, (, ", ` will add/replace surrounding
>> pair, press ~ will remove them. Specially, press / will block-comment it
>> * Reset Scala interactive parser when necessary, for instance: dependent
>> libs changed (Right click on source, choose "Reset Scala Parser" in pop-up
>> menu)
>> * Output highlighted code to html ([File] -> [PrintToHTML...]) (Can be
>> then copied/pasted to Word, PowerPoint, Keynote etc. See example)
>> * Some basic hints, for instance: fixing import, unused imports
>> * Code template now works, check or add your own via [Options/Preferences]
>> -> [Editor] -> [Code Templates] -> [Scala]
>>
>> Install with NetBeans 6.8RC1
>>
>> * Download and install the latest Scala-2.8.0 snapshot runtime via
>> http://www.scala-lang.org/archives/downloads/distrib/files/nightly/distr...
>> * Set $SCALA_HOME environment variable to point to the installed Scala
>> runtime path. Add $SCALA_HOME/bin to PATH environment variable.
>>  ** Note for Mac OS user, $SCALA_HOME environment variable may not be
>> visible for Applications/NetBeans, see
>> http://wiki.netbeans.org/MacOSXEnvForApp
>>  ** Note for Linux user, if your $SCALA_HOME environment variable is not
>> visible for Applications/NetBeans, see
>> http://wiki.netbeans.org/LinuxEnvForApp
>> * Get the NetBeans 6.8RC1 from:
>> http://dlc.sun.com.edgesuite.net/netbeans/6.8/rc/
>> * Get the Scala plugins binary from:
>> https://sourceforge.net/projects/erlybird/files/nb-scala/nb-scala-6.8v1.1.0
>> * Unzip Scala plugin binary to somewhere
>> * Open NetBeans, go to "Tools" | "Plugins", click on "Downloaded" tab
>> title, click on "Add Plugins..." button, choose the directory where the
>> Scala plugins are unzipped,
>>  select all listed *.nbm files, following the instructions.
>> * Edit $NetBeansInstallationPath/etc/netbeans.conf
>>  ** set better maximum heap memory size, for instance: -J-Xmx1024m
>>  ** remove "-J-ea" if there is one to avoid AssertionError window popup
>>
>> Old Projects Created Before 6.8v1.1.0beta Should Modify Their Project
>> Properties
>> * All projects created via "File" | "New Project" before
>> nb-scala-6.8v1.1.0beta should add or change following lines in
>> "nbproject/project.properties"
>> scalac.compilerargs=
>> scalac.deprecation=no
>> scalac.unchecked=no
>>
>>
>> For most recent update information, please visit:
>> http://wiki.netbeans.org/Scala68v1
>>
>
>

Lalit Pant
Joined: 2009-01-05,
User offline. Last seen 2 years 7 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

Hi Caoyuan,

I have seen this problem, too. Here's some example code that shows the
issue:

object Breakpoints {

def main(args: Array[String]) {
val n = 10 // Breakpoint works fine

val l = List(1, 2, 3)
l.map { e =>
e+1 // Breakpoint *not* allowed
}

def incr1(x: Int) = {
x+1 // Breakpoint works fine
}

l.map {e => incr1(e)}

val r = new Runnable {
def run() {
val x = 20 // Breakpoint *not* allowed
}
}

r.run

new MyRunnable().run
}
}

class MyRunnable extends Runnable {
def run() {
val x = 20 // Breakpoint works fine
}
}

So basically, locations within anonymous functions and classes seem to not
be breakpoint-able...

My configuration: NB 6.8 (Final), Scala Plugin 6.8rc1, Scala 2.8 Beta-RC2,
Windows.

Cheers,
- Lalit

dcaoyuan wrote:
>
> Hi Sciss,
>
> I think almost all valid breakpoints should work, except those that
> are not contains information in class files, for instance, the var/val
> declaration statements. Would you please give me some example code
> that do not work?
>
> Thanks.
>
> -Caoyuan
>
>

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

Hi Lalit,

I tried your code under my Mac OS X, all breakpoints that you marked
as not working all work, so it may be an issue related to Wndows? Have
you perform "Clean and Build" before you debug it?

I'll try to dig it.

Regards,

-Caoyuan

On Sat, Dec 12, 2009 at 4:03 PM, Lalit Pant wrote:
>
> Hi Caoyuan,
>
> I have seen this problem, too. Here's some example code that shows the
> issue:
>
> object Breakpoints {
>
>  def main(args: Array[String]) {
>    val n = 10  // Breakpoint works fine
>
>    val l = List(1, 2, 3)
>    l.map { e =>
>      e+1 // Breakpoint *not* allowed
>    }
>
>    def incr1(x: Int) = {
>      x+1 // Breakpoint works fine
>    }
>
>    l.map {e => incr1(e)}
>
>    val r = new Runnable {
>      def run() {
>        val x = 20 // Breakpoint *not* allowed
>      }
>    }
>
>    r.run
>
>    new MyRunnable().run
>  }
> }
>
> class MyRunnable extends Runnable {
>  def run() {
>    val x = 20 // Breakpoint works fine
>  }
> }
>
> So basically, locations within anonymous functions and classes seem to not
> be breakpoint-able...
>
> My configuration: NB 6.8 (Final), Scala Plugin 6.8rc1, Scala 2.8 Beta-RC2,
> Windows.
>
> Cheers,
> - Lalit
>
>
> dcaoyuan wrote:
>>
>> Hi Sciss,
>>
>> I think almost all valid breakpoints should work, except those that
>> are not contains information in class files, for instance, the var/val
>> declaration statements. Would you please give me some example code
>> that do not work?
>>
>> Thanks.
>>
>> -Caoyuan
>>
>>
>
> --
> View this message in context: http://old.nabble.com/-ANN--Scala-plugin-for-NetBeans-6.8RC1-available-t...
> Sent from the Scala - User mailing list archive at Nabble.com.
>
>

Lalit Pant
Joined: 2009-01-05,
User offline. Last seen 2 years 7 weeks ago.
Re: [ANN] Scala plugin for NetBeans 6.8RC1 available

Yes Caoyuan, I did a clean build before trying to debug the program. And I'm
on Windows, so this could well be a Windows only issue...

Thanks!
- Lalit

dcaoyuan wrote:
>
> Hi Lalit,
>
> I tried your code under my Mac OS X, all breakpoints that you marked
> as not working all work, so it may be an issue related to Wndows? Have
> you perform "Clean and Build" before you debug it?
>
> I'll try to dig it.
>
> Regards,
>
> -Caoyuan
>
>

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