How to report TODOs and other tags with CruiseControl?

200 Views Asked by At

In one project the use of //TODO, //XXX and //FIXME tags is very common.

The problem is that nobody has an overview of all TODO lines - only Eclipse shows all the tasks in one view.

I would like to display all TODOs with filenames in our daily build report created by CruiseControl.

How can this be achieved easily?

2

There are 2 best solutions below

1
On BEST ANSWER

You may be able to use Checkstyle. But I'd look into this Maven plugin - maybe you can generate tag reports without migrating your build wholesale from Ant.

3
On

You could write a small script that "grep" for all //TODO tags in your soruce code files and prints a report. This script can then be called from ant so that the build output contains this report.