我们使用 Hudson 作为我们的构建机器,我正在尝试为编译器警告插件配置排除文件集。Hudson 解析构建日志以确定警告/错误,我们的 Clover 脚本输出真实警告的副本。
如 Hudson 所述,您可以配置 ANT 文件集以排除某些警告:
Warnings to ignore:: Fileset 'excludes' setting that specifies the warnings to exclude from the report (based on their filename).
我收到以下警告(重复):
C:/vsfz/temp/1/clover1710786373818922904.tmp/src4952837385592305293.tmp/corp/app/path
....
我已将排除文件集设置为:
*vsfz/temp/*/clover*/**
我希望文件集与警告匹配,并且不会将它们添加到编译器警告报告中,但事实并非如此。有人看到上述文件集定义有问题吗?