For my second act, I installed and integrated Checkstyle with the build loop. The Sun config file that comes with the Checkstyle distribution resulted in over 2 million errors with our code base; and the log file was over two gigabytes. It also took 16 minutes to execute. I created a new config file, using only the nine hard rules from our coding standard and applied that to only a dozen or so of our source files. The result was still 11,000+ errors. A quick look showed me that most were the use of tab characters and I made quick work of those with VIM, fixing any resulting alignment problems. The final tally: 830 Checkstyle violations. Now we're getting somewhere.
Feeling pretty comfortable with CruiseControl's operation, I decided to tinker. I wanted to get SMS notification of build failures. After some internet searches I found that there is an email address that corresponds to your phone's SMS inbox. It turns out to be a great solution since it requires no extra work in CruiseControl. And the iPhone will allow me to use the link to view the build status. All I have to do now is throttle the messages since it is unlikely I will be able to address a build failure within an hour when I am out of the office.
Feeling pretty comfortable with CruiseControl's operation, I decided to tinker. I wanted to get SMS notification of build failures. After some internet searches I found that there is an email address that corresponds to your phone's SMS inbox. It turns out to be a great solution since it requires no extra work in CruiseControl. And the iPhone will allow me to use the link to view the build status. All I have to do now is throttle the messages since it is unlikely I will be able to address a build failure within an hour when I am out of the office.
