The Source for Java Technology Collaboration
User: Password:



Brian Leonard

Brian Leonard's Blog

NetBeans 4.1 Tip: Move "Scanning Project Classpaths" Dialog to the Background

Posted by bleonard on June 14, 2005 at 03:54 PM | Comments (3)

Of all the people I know that have used NetBeans 4.0 or 4.1, their biggest complaint has been the modal "Scanning Project Classpaths" dialog that appears every time the IDE is started or a change in classpath occurs.

Maybe this is because many of the developers I know are working on the very large GlassFish project, and the larger the project, the more time consuming the processes can be. Well, the good news is that in the current NetBeans development builds, this task has been moved to the background and you now see its status displayed on the toolbar.

The better news is that with the 4.1 release, the scanning process can also be moved to the background by setting the following system property:

-J-Dnetbeans.javacore.background_scanning=true.

You can set this on the command line or in the <NetBeans installation directory>/etc/netbeans.conf file.

The scan is building a metadata repository (MDR) of information about your Java sources. The MDR is used to support features like refactoring, code completion, Navigator and Go-To Source/Class/Declaration. These features will not be available to you until the background thread has completed the scan. However, having used this feature for the past several months now, I have not felt its impact.

To learn more NetBeans tips, check out the first session on NetBeans Software Day - "NetBeans 4.1: learn all the tricks from the development team". And if you're one of the first 300 attendees, you also get a copy of the NetBeans IDE Field Guide, a $50 value in of itself. Oh yeah, did I mention NetBeans day was FREE, as in zero, zippo, zilch. JavaOne registration is NOT required. Save yourself some time at the door by registering ahead of time. Still looking for more reasons to attend? How about hearing what Hideya Kawahara and project Looking Glass have been up to (I hear he may even be bringing the dukulele)? Or, what Javalobby's Rick Ross has to say? So, come by and pay us a visit, you won't regret it.

banner-150x75.png


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Holy ****! I knew this was fixed in 4.2, but moving this to the background in 4.1 is going to be a huge boost for us until the new apisupport is ready. I'm building a netbeans platform app with about 30 modules, and I hate sitting around after rebuilding modules for the IDE to update itself.

    Thanks for the tip!

    Posted by: richunger on June 14, 2005 at 05:04 PM

  • Hey, be careful with this option in 4.1. We've discovered quite a few bugs which are connected with this change.

    Posted by: romanstrobl on June 15, 2005 at 12:45 PM

  • This was a showstopper for me.. I couldn't use 4.1 because of this.. I simply can't wait 30 minutes for it to scan our large project. I'm back to Eclipse for the moment.

    Posted by: dog on June 16, 2005 at 12:52 PM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds