调试 nant 重复目标

发布于 2024-09-27 04:11:43 字数 84 浏览 7 评论 0原文

南特正在抱怨重复的目标,据我所知,没有重复的目标。有没有办法让 nant 告诉我它已经打开或正在尝试打开哪些构建文件以及这些任务在哪里,以便我可以调试它?

Nant is complaining about a duplicate target, and as far as I can tell there is no duplicate. Is there some way to get nant to tell me which buildfiles it has open or is trying to open and where these tasks are so I can debug this?

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

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

发布评论

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

评论(1

逆光下的微笑 2024-10-04 04:11:43

虽然我还没有找到合理的调试方案,但我确实发现这和更新nant有关。一个可以正常工作的旧构建脚本开始因“重复目标”错误而中断。这是因为一个任务文件被项目中已包含的另外 2 个任务文件包含在内。南特发现了同一任务的两条不同路径,并认为这是两个不同的任务,因此翻转了。

Although I haven't found a reasonable debugging solution, I did find that this was related to updating nant. An old buildscript that worked began to break on a "duplicate target" error. This was because a taskfile was included by 2 other taskfiles already included in the project. nant found two different paths to the same task, and thought it was two distinct tasks and consequently flipped.

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