Matt RaibleMatt Raible is a Java Champion and Developer Advocate at Okta. developer.okta.com

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

PMD and Checkstyle

I knew about Checkstyle, but PMD is new to me. The Struts Development Team has recently added these tasks to its build.xml file if you're interested in an example. Erik Hatcher has the Checkstyle task in his JavaDevWithAnt project, and I'm using his build.xml file as a model, but I've never used the Task. I've also had the Checkstyle Plug-In for Eclipse installed at one point, but it gave me so many errors - I disabled it. It'd be nice to use these from the beginning on a project.

Posted in Java at Jan 05 2003, 12:52:38 PM MST 2 Comments
Comments:

Checkstyle is a fairly scary thing to turn on in the middle of a large project (I think we had about 10,000 errors at the start). 90% of these can be fixed by simply running a formatter on all the files, and you're generally left with just a whole bunch of complaints about lazy people (usually myself... oops) leaving off the javadoc (which we still had a lot, but that was something that we liked to get hit in the face about).

Posted by Daniel on January 05, 2003 at 04:19 PM MST #

If you like CheckStyle and pmd you can take it to the next level and use JRefactory to fix and reformat style errors according to your own style preferences all from ant. https://jrefactory.dev.java.net/

Posted by Mark Hardy on May 02, 2005 at 06:14 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed