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

[NetBeans] How to I diagnose lack of compilation

5 replies
David Pollak
Joined: 2008-12-16,
User offline. Last seen 42 years 45 weeks ago.
Howdy,

I installed NetBeans on a new system and for some reason, it no longer compiles code while I'm typing (I don't get real time compilation errors).

How do I diagnose this issue?

Thanks,

David

PS -- I'm using NB 6.7.1 with the most recent 6.7 plugin
PPS -- I'm currently using Scala 2.7.7, if I use NB 6.8 with the newer plugin, what version of Scala will it use?

--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics
Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [NetBeans] How to I diagnose lack of compilation

Hi,

On Wed, Nov 18, 2009 at 7:40 AM, David Pollak
wrote:
> Howdy,
>
> I installed NetBeans on a new system and for some reason, it no longer
> compiles code while I'm typing (I don't get real time compilation errors).
>
> How do I diagnose this issue?

If it's a Mac OS, and $SCALA_HOME is setting. the you may wan to take a look at:
http://wiki.netbeans.org/MacOSXEnvForApp

>
> Thanks,
>
> David
>
> PS -- I'm using NB 6.7.1 with the most recent 6.7 plugin
> PPS -- I'm currently using Scala 2.7.7, if I use NB 6.8 with the newer
> plugin, what version of Scala will it use?

All nightly version recently and 2.8.0-betaRC1 should work.
http://wiki.netbeans.org/Scala68v1

-Caoyuan

>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Surf the harmonics
>

David Pollak
Joined: 2008-12-16,
User offline. Last seen 42 years 45 weeks ago.
Re: [NetBeans] How to I diagnose lack of compilation


On Tue, Nov 17, 2009 at 6:47 PM, Caoyuan <dcaoyuan@gmail.com> wrote:
Hi,

On Wed, Nov 18, 2009 at 7:40 AM, David Pollak
<feeder.of.the.bears@gmail.com> wrote:
> Howdy,
>
> I installed NetBeans on a new system and for some reason, it no longer
> compiles code while I'm typing (I don't get real time compilation errors).
>
> How do I diagnose this issue?


If it's a Mac OS, and $SCALA_HOME is setting. the you may wan to take a look at:
http://wiki.netbeans.org/MacOSXEnvForApp


Setting SCALA_HOME doesn't improve the situation for editing Lift sources.

Lift is a Maven-based project and I'm wondering if there's something about the pom.xml files that is not triggering the appropriate compilation.  How can I debug that?
 

>
> Thanks,
>
> David
>
> PS -- I'm using NB 6.7.1 with the most recent 6.7 plugin
> PPS -- I'm currently using Scala 2.7.7, if I use NB 6.8 with the newer
> plugin, what version of Scala will it use?

All nightly version recently and 2.8.0-betaRC1 should work.
http://wiki.netbeans.org/Scala68v1

-Caoyuan

>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Surf the harmonics
>



--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics
Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [NetBeans] How to I diagnose lack of compilation

On Wed, Nov 18, 2009 at 3:15 PM, David Pollak
wrote:
>
>
> On Tue, Nov 17, 2009 at 6:47 PM, Caoyuan wrote:
>>
>> Hi,
>>
>> On Wed, Nov 18, 2009 at 7:40 AM, David Pollak
>> wrote:
>> > Howdy,
>> >
>> > I installed NetBeans on a new system and for some reason, it no longer
>> > compiles code while I'm typing (I don't get real time compilation
>> > errors).
>> >
>> > How do I diagnose this issue?
>>
>>
>> If it's a Mac OS, and $SCALA_HOME is setting. the you may wan to take a
>> look at:
>> http://wiki.netbeans.org/MacOSXEnvForApp
>>
>
> Setting SCALA_HOME doesn't improve the situation for editing Lift sources.

>
> Lift is a Maven-based project and I'm wondering if there's something about
> the pom.xml files that is not triggering the appropriate compilation.  How
> can I debug that?

Oh, yes, for maven project, the classpath should be resolved by
pom.xml's setting.

Have you seen any information print out under the shell (where you
launch NetBeans) screen, or, please email me the netbeans log file
which is under something like:
${netbeans_default_userdir}/var/log

where "netbeans_default_userdir" can be found from
NetBeansInstallationPath/etc/netbeans.conf, for Mac OS, it may be:
~/.netbeans/6.7.1

-Caoyuan

>>
>> >
>> > Thanks,
>> >
>> > David
>> >
>> > PS -- I'm using NB 6.7.1 with the most recent 6.7 plugin
>> > PPS -- I'm currently using Scala 2.7.7, if I use NB 6.8 with the newer
>> > plugin, what version of Scala will it use?
>>
>> All nightly version recently and 2.8.0-betaRC1 should work.
>> http://wiki.netbeans.org/Scala68v1
>>
>> -Caoyuan
>>
>> >
>> > --
>> > Lift, the simply functional web framework http://liftweb.net
>> > Beginning Scala http://www.apress.com/book/view/1430219890
>> > Follow me: http://twitter.com/dpp
>> > Surf the harmonics
>> >
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Surf the harmonics
>

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [NetBeans] How to I diagnose lack of compilation

On Wed, Nov 18, 2009 at 3:15 PM, David Pollak
wrote:
>
>
> On Tue, Nov 17, 2009 at 6:47 PM, Caoyuan wrote:
>>
>> Hi,
>>
>> On Wed, Nov 18, 2009 at 7:40 AM, David Pollak
>> wrote:
>> > Howdy,
>> >
>> > I installed NetBeans on a new system and for some reason, it no longer
>> > compiles code while I'm typing (I don't get real time compilation
>> > errors).
>> >
>> > How do I diagnose this issue?
>>
>>
>> If it's a Mac OS, and $SCALA_HOME is setting. the you may wan to take a
>> look at:
>> http://wiki.netbeans.org/MacOSXEnvForApp
>>
>
> Setting SCALA_HOME doesn't improve the situation for editing Lift sources.
>
> Lift is a Maven-based project and I'm wondering if there's something about
> the pom.xml files that is not triggering the appropriate compilation.  How
> can I debug that?

Or, should do a "mvn install" first?

>
>>
>> >
>> > Thanks,
>> >
>> > David
>> >
>> > PS -- I'm using NB 6.7.1 with the most recent 6.7 plugin
>> > PPS -- I'm currently using Scala 2.7.7, if I use NB 6.8 with the newer
>> > plugin, what version of Scala will it use?
>>
>> All nightly version recently and 2.8.0-betaRC1 should work.
>> http://wiki.netbeans.org/Scala68v1
>>
>> -Caoyuan
>>
>> >
>> > --
>> > Lift, the simply functional web framework http://liftweb.net
>> > Beginning Scala http://www.apress.com/book/view/1430219890
>> > Follow me: http://twitter.com/dpp
>> > Surf the harmonics
>> >
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Surf the harmonics
>

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [NetBeans] How to I diagnose lack of compilation

On Wed, Nov 18, 2009 at 3:15 PM, David Pollak
wrote:
>
>
> On Tue, Nov 17, 2009 at 6:47 PM, Caoyuan wrote:
>>
>> Hi,
>>
>> On Wed, Nov 18, 2009 at 7:40 AM, David Pollak
>> wrote:
>> > Howdy,
>> >
>> > I installed NetBeans on a new system and for some reason, it no longer
>> > compiles code while I'm typing (I don't get real time compilation
>> > errors).
>> >
>> > How do I diagnose this issue?
>>
>>
>> If it's a Mac OS, and $SCALA_HOME is setting. the you may wan to take a
>> look at:
>> http://wiki.netbeans.org/MacOSXEnvForApp
>>
>
> Setting SCALA_HOME doesn't improve the situation for editing Lift sources.
>
> Lift is a Maven-based project and I'm wondering if there's something about
> the pom.xml files that is not triggering the appropriate compilation.  How
> can I debug that?

I just caught it: I should explicit set -extdirs to empty in
NetBeans scalac settings, otherwise all jars under ${scala.home}/lib
will be added automatically (as default).

I fixed it in NetBeans 6.8 plugin, will release a new version for
NetBeans 6.8RC1 in couple of days.

-Caoyuan

>
>>
>> >
>> > Thanks,
>> >
>> > David
>> >
>> > PS -- I'm using NB 6.7.1 with the most recent 6.7 plugin
>> > PPS -- I'm currently using Scala 2.7.7, if I use NB 6.8 with the newer
>> > plugin, what version of Scala will it use?
>>
>> All nightly version recently and 2.8.0-betaRC1 should work.
>> http://wiki.netbeans.org/Scala68v1
>>
>> -Caoyuan
>>
>> >
>> > --
>> > Lift, the simply functional web framework http://liftweb.net
>> > Beginning Scala http://www.apress.com/book/view/1430219890
>> > Follow me: http://twitter.com/dpp
>> > Surf the harmonics
>> >
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Surf the harmonics
>

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