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

[netbeans] showing compiler verbose output

3 replies
Patrick Wright
Joined: 2009-01-14,
User offline. Last seen 31 weeks 5 days ago.

Hi

I've downloaded NB 6.8m2 and the latest packaged bits for the Scala
plugin. First steps went well, nice work!

I'm trying to compile a very small Scala project
(http://code.google.com/p/swarm-dpl/) using a compiler plugin
(continuations) and would like to see the compiler output. I've added
-verbose to the compiler options but am not seeing any additional
detail. I tried restarting NB and calling fsc -reset from the command
line, but it looks like the option is not being passed to the
compiler.

Also, SCALA_HOME is set correctly and I can compile these classes from
the CLI but am getting errors when I compile from within NB. Are you
using a packaged compiler, or the one on my system? I'm using a pretty
recent build of 2.8.

patrick@cgbspender:~/dev/Swarm$
>scala
Welcome to Scala version 2.8.0.r18915-b20091005020911 (Java
HotSpot(TM) 64-Bit Server VM, Java 1.6.0_16).

Thanks
Patrick

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] showing compiler verbose output

On Fri, Oct 9, 2009 at 10:52 PM, Patrick Wright wrote:
> Hi
>
> I've downloaded NB 6.8m2 and the latest packaged bits for the Scala
> plugin. First steps went well, nice work!
>
> I'm trying to compile a very small Scala project
> (http://code.google.com/p/swarm-dpl/) using a compiler plugin
> (continuations) and would like to see the compiler output. I've added
> -verbose to the compiler options but am not seeing any additional
> detail. I tried restarting NB and calling fsc -reset from the command
> line, but it looks like the option is not being passed to the
> compiler.

Add "-verbose" to compiler options via project properties works on me.
You may need to create a new project and move src to it? Please see
attached screenshot.

>
> Also, SCALA_HOME is set correctly and I can compile these classes from
> the CLI but am getting errors when I compile from within NB. Are you
> using a packaged compiler, or the one on my system? I'm using a pretty
> recent build of 2.8.

>
> patrick@cgbspender:~/dev/Swarm$
>>scala
> Welcome to Scala version 2.8.0.r18915-b20091005020911 (Java
> HotSpot(TM) 64-Bit Server VM, Java 1.6.0_16).
>

Is your Scala version 2.8.0.r18915 ? If so, we need version above r18966

-Caoyuan

anli
Joined: 2008-08-19,
User offline. Last seen 1 day 1 hour ago.
Re: [netbeans] showing compiler verbose output

On Saturday 10 October 2009 06:35:40 Caoyuan wrote:

> Add "-verbose" to compiler options via project properties works on me.
> You may need to create a new project and move src to it? Please see
> attached screenshot.

'-verbose' works for me also, rather '-unchecked' and '-deprecation'.

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] showing compiler verbose output

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