如何使用 CruiseControl 报告 TODO 和其他标签?

发布于 2024-08-08 01:19:10 字数 216 浏览 3 评论 0原文

在一个项目中,//TODO//XXX//FIXME 标记的使用非常常见。

问题是没有人能够概览所有 TODO 行 - 只有 Eclipse 在一个视图中显示所有任务。

我想在 CruiseControl 创建的每日构建报告中显示带有文件名的所有 TODO。

如何才能轻松实现这一目标?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

墨洒年华 2024-08-15 01:19:10

您也许可以使用 Checkstyle。但我会研究 这个 Maven 插件 - 也许你可以生成标签报告而无需从 Ant 批量迁移您的构建。

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.

誰ツ都不明白 2024-08-15 01:19:10

您可以编写一个小脚本,对源代码文件中的所有 //TODO 标记进行“grep”并打印报告。然后可以从 ant 调用此脚本,以便构建输出包含此报告。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文