如何在 Eclipse 中获取 Ant 构建错误“问题”看法
当我设置 Ant 脚本作为 Eclipse 项目中的 Ant 构建器运行时,处理输出的唯一选项是:
- 在控制台视图中显示
- 它 在文件中捕获它
有没有办法告诉 Eclipse 如何解析输出并相应地将条目添加到问题视图中?
When I set up an Ant script to run as an Ant builder in an Eclipse project, the only options I have for handling the output are to:
- show it in Console view
- capture it in a file
Is there any way to tell Eclipse how to parse the output and add entries to the Problems view accordingly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您不会找到解决方案,但如果您找到解决方案,则必须是实现替代 Ant Builder 的第三方插件。正如您所发现的,Eclipse Ant 构建集成不支持此功能。
您可能还需要考虑在 https://bugs.eclipse 上提出增强请求。 org/bugs/enter_bug.cgi?product=Platform 站点。虽然不能保证有人会站出来实现此功能,但你永远无法确定。
I don't think you are going to find a solution, but if you do it would have to be a third-party plugin implementing a replacement Ant Builder. As you've discovered, Eclipse Ant build integration doesn't support this.
You may also want to consider opening an enhancement request at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform site. While there is no guarantee that someone will step up to implement this feature, you never can tell.