Skip to main content

A report on NetBeans 5 10/31 Q-build

Although I reported here that I had pretty much abandoned NetBeans for Eclipse, I still feel the need to look at it and gauge its progress. It's foolish to ignore anything as complex and sophisticated as NetBeans, and just because it doesn't work for me right now doesn't mean it won't work later, and it certainly doesn't mean it won't work for others. For this look I downloaded and installed the October 31st Q-build on both SuSE 10 Linux and Windows XP SP2. All of the following comments come from my using it under Linux.

I grabbed the Q-build rather than the daily because the dailies are just too unstable. For example, I grabbed the November 8th daily and discovered it wouldn't even install. For a decent combination of bleeding-edge features and stability, the Q-builds are probably your best bet. For extensive testing on Linux I also grabbed the Mobility Pack and Profiler M9. I installed everything and then went and picked up some modules I'd found useful in the past. I'd also installed the latest Java 6, build 59, which is now officially a beta. I am running NetBeans 5 on Java 6 on both Linux and Windows.

When I started up NetBeans I went to tweak something via the Options dialog. That caused an immediate exception dialog. Having had earlier experience with NetBeans 5 dev I did the standard NB5DEV two-step tango to determine this problem. First I deleted ~/.netbeans/dev which contains my NetBeans preferences and other cached information, and restarted NetBeans. I still got the Options exception. Then I completely un-installed NetBeans 5 and started over, installing one piece at a time and then testing. Sure enough, I discovered that installing Profiler M9 caused the Options dialog to fail. So I finished re-installing NetBeans without Profiler and went on testing other features.

As you can see in the following dialog, I'm running on Java 6, Linux, and an x86 processor.

I'm running NetBeans with Java 6 to get Java 6's text sub-pixel anti-aliasing. I turned that feature on with the command-line switch -Dswing.aatext=true. That simple switch makes NetBeans 5 a lot easier to look at on notebooks, especially mine.

The first "real" task I attempted was to import a fairly large Eclipse 3.1 project. I have, for some time now, OpenMap 4.6.2 as an Eclipse project. I imported it because I was using it as part of an even larger project, again under Eclipse. I made sure that I had loaded the Eclipse project import module through the Update Center. I then went looking for a way to import the Eclipse project. I found it under File | Import Project | Eclipse Project... I would have expected to find it by right clicking on the Projects view and importing from there (like Eclipse), but it's not there. This seems to violate, in a minimal way, the rule of least surprise. Especially if your an Eclipse user, since you can import projects using those steps. The next surprise was that it failed in my first attempt (see below).

The clue to what I did wrong was in the error message: the importer was looking for a workspace, not an individual project. You'd think I'd have correctly read the instructions at the top where it asks for a workspace, not a project. But then it goes on to say "or the project folder to import". I think that the engineer responsible for this needs to either correct the directions at the top of the wizard or fix the ability to import a single Eclipse project.

It was simple for me to just back up to the workspace folder. When I did, I was presented with a list of projects in the workspace folder.

I selected the project to import and supplied the NetBeans project root, then clicked finish. During the importation process I got a pop-up describing a problem with the project. I was referencing a JDK from the Windows partition that it didn't understand, and it told me it was using the default NetBean's JDK (platform). Since there wasn't much I could do, I clicked OK and it finished the import.

As I wrote earlier, I re-installed this version in order to get Options to work. And it was a good thing. I used the Options dialog to select the Emacs key bindings and to change the look of the editor. I started with Fonts & Colors and selected the City Lights profile (basically light text on a black background). I then went in and tweaked some of the colors so it looked pretty much like my color selections on Emacs.

I also turned on line numbering off to the side.


The stability and speed of this release of NetBeans 5 is excellent from the little I have worked with it, especially running on Java 6 build 59. In addition to importing from Eclipse I also opened up some older NetBeans 5 projects, such as my collection of Matisse UI projects. Nothing seems to have changed over the last few months, and I did not have any problems viewing or working with them. One last point to make about importing Eclipse projects. The project files were created in my NetBeans project area, but the source files were not copied over. I would strongly advise that import perform a copy, or else provide a check box so that you can explicitly perform a copy. In my unique case the project remains on the Windows C drive under Linux, which is unfortunate in that it's on NTFS and the Linux drivers do not allow file system writes except under very explicit circumstances. I've gone to the trouble to manually copy the entire project over and I've now got a modifiable NetBeans project. Other than that surprise, NetBeans appears to be on track for an excellent release in the near future.


Popular posts from this blog

A Decade Long Religious Con Job

I rarely write inflammatory (what some might call trolling) titles to a post, but this building you see before you deserves it. I've been seeing this building next to I-4 just east of Altamonte/436 and Crane's Roost for nearly 12 years, and never knew who owned it. Today on a trip up to Lake Mary with my wife I saw it yet again. That's when I told her I wanted to stop by on the way back and poke around the property, and photograph any parts of it if I could.

What I discovered was this still unfinished eighteen story (I counted) white elephant, overgrown with weeds and yet still under slow-motion construction. It looks impressive with its exterior glass curtain walls, but that impression is quickly lost when you see the unfinished lower stories and look inside to the unfinished interior spaces.

A quick check via Google leads to an article written in 2010 by the Orlando Sentinel about the Majesty Tower. Based on what I read in the article it's owned by SuperChannel 55 WA…

Be Careful of Capital One Mailings

Capitol One ("What's in your wallet?") sent me a bit of deceptive snail mail today. I felt sure it was a credit card offer, and sure enough, it was. I open all credit card offers and shred them before putting them in the trash. Normally I just scan the front to make sure I don't miss anything; the Capital One offer made me stop for a moment and strike a bit of fear into my heart.

The letter's opening sentence read:
Our records as of December 30, 2009 indicate your Capital One Platinum MasterCard offer is currently valid and active.Not paying close attention during the first reading, I quickly developed this irrational worry that I was actually on the hook for something important, but I wasn't quite sure what. The letter listed "three ways to reply" at the bottom; via phone, the internet, and regular snail mail. I elected to call.

Once I reached the automated phone response system, the first entry offered was '1', to "activate my Capital …

cat-in-a-box channels greta garbo

So I'm sitting at my computer, when I start to notice a racket in back. I ignore it for a while until I hear a load "thump!", as if something had been dropped on the floor, followed by a lot of loud rattling. I turn around and see Lucy in the box just having a grand old time, rolling around and rattling that box a good one. I grab the GX1 and snap a few shots before she notices me and the camera, then leaps out and back into her chair (which used to be my chair before she decided it was her chair).

Just like caring for Katie my black Lab taught me about dogs, caring for Lucy is teaching me about cats. She finds me fascinating, as I do her. And she expresses great affection and love toward me without coaxing. I try to return the affection and love, but she is a cat, and she takes a bat at me on occasion, although I think that's just her being playful. She always has her claws in when she does that.

She sits next to me during the evening in her chair while I sit in mi…