Hudson JDepend 插件不起作用

发布于 2024-10-04 01:17:18 字数 471 浏览 1 评论 0原文

我正在尝试使用 hudson 为 php 构建一个持续集成环境。 我正在运行一个 shell 脚本,它会生成 phpdepend 输出,可供 jdepend 插件使用。 尽管 xml 文件已准备就绪,但插件会引发异常:

控制台输出:

[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'jdepend.xml'java.lang.NullPointerException

在 jdepend-symbol 单击:

 Report generation failed: org.apache.maven.reporting.MavenReportException: Failed to generate JDepend report:null

感谢您的所有帮助。 马丁

I am trying to build a continuous integration environment for php using hudson.
I am running a shell script, which generates my phpdepend output, which can be used by the jdepend plugin.
Although the xml-File is ready, the plugin throws an exception:

console output:

[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'jdepend.xml'java.lang.NullPointerException

on jdepend-symbol click:

 Report generation failed: org.apache.maven.reporting.MavenReportException: Failed to generate JDepend report:null

thanks for all your help.
Martin

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

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

发布评论

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

评论(3

懒的傷心 2024-10-11 01:17:18

如果您觉得您发现了此插件的错误(这似乎是这样,因为您收到了 NullPointerException),请转到 此处 并查看“错误报告”部分以了解如何报告错误。

If you feel that you have found a bug with this plugin (which seems like the case because you are getting a NullPointerException), go here and look under the 'Bug reporting' section to see how to report the bug.

瞳孔里扚悲伤 2024-10-11 01:17:18

尝试配置路径,而不是文件。

请参阅 Hudson 在使用 Phing 和 Ant 时总是失败

Try configuring a path, not a file.

See Hudson keeps failing with Phing AND Ant.

め可乐爱微笑 2024-10-11 01:17:18

我遇到了同样的问题,但我没有输入文件夹路径,而是输入了 xml 文件名,效果很好,如下所示:

/build/logs/jdepend.xml

I had the same issue, but instead of putting the folder path, i put also the xml filename and it worked well, like this :

/build/logs/jdepend.xml

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