简体   繁体   English

如何设置 Gosu CodeNarc

[英]How to setup Gosu CodeNarc

密码报告

I have codenarc set up in my local windows machine with the following configuration.我在本地 windows 机器上设置了 codenarc,配置如下。 JDK 1.6 and Ant 1.7.1 integrated with claim center 7 version and also codenarc report has been successfully generated. JDK 1.6 和 Ant 1.7.1 与索赔中心 7 版本集成,并且已成功生成 codenarc 报告。

Now the question is there any way to add the user name who is modified and when a file has changed along with commit id information in codenarc HTML report file.现在的问题是有什么方法可以在codenarc HTML报告文件中添加被修改的用户名以及文件何时更改以及提交ID信息。

Please advice me and show if any sample file to accomplish this case study.请给我建议并显示是否有任何示例文件可以完成此案例研究。

The way to do that would be write a XSLT that would do the heavy lifting.这样做的方法是编写一个 XSLT 来完成繁重的工作。 The question would be, if the data you ask for to include is already available in the context (I guess the commit author and id are defined per line).问题是,如果您要求包含的数据已经在上下文中可用(我猜提交作者和 id 是每行定义的)。

Source 资源

XSLT instructions XSLT 指令

Example XSLT示例 XSLT

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM