The Source for Java Technology Collaboration
User: Password:



Brian Leonard's Blog

June 2005 Archives


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

Posted by bleonard on June 14, 2005 at 03:54 PM | Permalink | 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



What's It Take To Build The J2EE SDK? Find Out For Yourself.

Posted by bleonard on June 09, 2005 at 05:35 AM | Permalink | Comments (0)

Gee, it's been quite a while since I've blogged. This is primarily because I've been heads down working on various projects, one of which has been project GlassFish. Basically, over the past couple of months, the J2EE SDK engineering team has turned themselves inside out so you can see the guts of the operation. If you've ever wondered about the effort required to build a commercial grade application server, here's your chance to truly understand. It's no small feat -- over 30 modules make up the SDK.  You'll see the extent of the code and the number of developers involved.

Now, with an API set as large as the J2EE SDK, it's really beneficial to use an editor like NetBeans which provides code completion, Javadoc assistance, and a host of other productivity features. Luckily for you, I've "NetBeanized" all 30 of the GlassFish modules. All of the modules are recognized by NetBeans as projects - they can be opened, edited and built. I've written a complete tutorial that you can follow which shows you how to get the source, edit the source and test your changes. I also explain exactly what was done in order to make each of the GlassFish modules a NetBeans project. Enjoy.

banner-150x75.png





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