- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
[netbeans] showing compiler verbose output
Fri, 2009-10-09, 15:52
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
Sat, 2009-10-10, 04:07
#2
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'.
Sat, 2009-10-10, 04:17
#3
Re: [netbeans] showing compiler verbose output
On Sat, Oct 10, 2009 at 10:57 AM, Andrew Gaydenko wrote:
> 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'.
>
But, if more than one params added, only the first one works. May need
to file a ticket for scala ant tool.
-Caoyuan
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