logo
Published on Professional-PM Project Management (http://www.professional-pm.com)

Enforcing coding guidelines and multi project build management (+Checkclipse)

By root
Created 2003-08-26 10:43

[updated 26.8.]
Some essential tools for enhancing your multi project development environment:

Maven [6] has the goals of:

while Checkstyle [7] and its Eclipse plugins:

enable you to automatically enforce coding guidelines like

Although tools like Checkstyle can be misused to produce massive reports [19] they can help very well when introduced in the beginning of a project... I doubt that one ever will adopt a full guideline-sets inbetween a project... In contrary it will probably be more effective to reduce the rule-set to a small set of rules. The eclipse plugin will sure help to distribute these clients into your project.

Maven has the good feature to be able to configure dependencies between multiple projects and thereby ensuring a proper product-version-line through multiple components or sub-projects. Although this can be done with one monstrous ANT file aswell I suppose the Maven-approach is a bit more deeper and flexible while setting standards for "how to" integrate multiple projects together - a very essential step in the work of multiproject development that an organization otherwise would have to do all alone.

Don't believe there's nothing left to do, but at least it's a start...

An integration with ASQ tools like Hyades [20] will enhance the testing-environment a lot - especially because of the platform-dependant profiling data-collectors (not all J2EE-applications run on simple Win2k-servers, do they?)

22.08. RD wrote about getting into Maven yesterday [21]

Marcus pointed me to Jalopy [22] , which is source code formatter for Java that plugs into Maven and thereby not only reports coding standard violations but of course re-formats the code in the build... now that sounds awful cool... features include:

Jalopy's functionality covers:

Make sure you check out the feature-documentation... just the indentation feature are amazing rich - I didn't check the others yet, but looks very fancy - check out the FAQ [33] later...

Thanks for this hint Marcus!

[26.8.] added Checkclipse info



Source URL:
http://www.professional-pm.com/a/project-methods-models/enforcing-coding-guidelines-and-multi-project-build-management-checkclipse.php