Brad Lucas

Programming, Clojure and other interests

Checkstyle Plug-In For Eclipse

June 30, 2006

I just found a useful plug-in for Eclipse that analyzes your Java code. It’s available at

I used the Remote install feature of Eclipse to install it. Here are the instructions.

  • Within Eclipse go to Help->Software Updates->Find and Install
  • Choose Search for new features to install and press Next
  • Create a New Remote Site…
  • Input a name to your liking (for instance Checkstyle Plug-in) and input the following URL:
  • Click your way through the following pages to install the plug-in.

A quick tip that you need to know is that you have to enable your project for CheckStyle. Right click on your project and select Properties. In the dialog select CheckStyoe and then check ”Checkstyle active for this project”.

Continue reading →

Charles Llyod – Sangam – June 22, 2006 – Nyc

June 25, 2006

Spiritual, Transcendental, Wonderful.


  • Charles Lloyd, Tenor and Alto Saxophones, Tarogato, Bass and Alto flutes, Piano, and Percussion
  • Zakir Hussain, Tabla, Voice, and Percussion
  • Eric Harland, Drums, Percussion, and Piano

Read more about Sangam at and

Continue reading →

David S. Ware (Discography)

June 22, 2006

Since seeing Ware Monday night I’ve loaded up my iPod with all of his recordings that I have. I like to listen in the order they were recorded. Allmusic lists things by release date so I found another site ( that shows everything he’s done.

A list of David S. Ware recordings sorted by recording date and release date.

I shorted the list to recent recording and list them here for convenience. The Allmusic list follows as well.

Listing by Recording Date

Continue reading →

Pattern For Laying Out Cvs Trees For Java Projects

June 21, 2006

Once you start working with others on larger Java projects you will require a logical CVS tree to store and share project artifacts among each of the team members.

With this it should go without saying that you need to start designing your applications with a sound package structure.

These two activities can conflict due to the nature of how each project contains Java sources in a directory structure to match the package structure. To make this clear start two Java projects that contain sources for the com.mycompany.database project. If you do this you’ll see that there isn’t a way to prevent collisions in names because each project is using the same package name.


Continue reading →

Code In The Constructor (Anti-Pattern)

June 21, 2006

I recently saw a programmer at a client site developing a small test app. For reasons that didn’t become clearer till later, this person has developed their application in such a way that it did all it’s processing in the class constructor.

When I first saw this I was a bit dumbfounded. The class had a main so the it could run from the command-line. the main method for this class looked like the following.

public static void main(String[] args)
       CodeInConstructor c = new CodeInConstructor();

So we have a class who’s Constructor has a side-effect of actually doing the work the class is meant to perform. Strange.

Continue reading →