Ant构建控制台得到由在Eclipse项目的依赖惨败 [英] Ant build consoles get clobbered by dependent projects in Eclipse

查看:134
本文介绍了Ant构建控制台得到由在Eclipse项目的依赖惨败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一组在Eclipse依赖的项目,每一个都有自己的Ant构建脚本。如果我要在多个项目中的变化,然后选择全部构建(按Ctrl + B),每个Ant构建以正确的顺序调用。但如果在一个项目中的错误,Eclipse的仍然试图打造的其他项目也,并在此过程则会覆盖在Ant控制台,这样生成的错误不再可见。这不会是的非常的那么令人讨厌,如果我能打开违规项目,然后选择生成项目,但是Eclipse出智慧我:它不会重建,直到我在项目中打开某些文件,编辑和保存(通常我加何地,我的光标恰好是删除一个空格字符)。任何的下列问题的答案将受到欢迎。

I have a set of dependent projects in Eclipse, each with its own Ant build script. If I make a change in multiple projects, then select "Build All" (Ctrl+B), each Ant build is invoked in the correct order. But if there is an error in one project, Eclipse still tries to build the other projects also, and in the process clobbers the Ant console so that the build errors are no longer visible. This wouldn't be quite so annoying if I could open up the offending project and select "Build Project", but Eclipse out-smarts me: it won't rebuild until I open some file in the project, edit it, and save (typically I add and remove a space character wherever my cursor happens to be). An answer to any of the following questions would be welcome.

我如何配置Eclipse来(以preference顺序排列):

How can I configure Eclipse to (in preference order):


  1. 终止全部构建只要任何项目的Ant生成失败?

  2. 保存的所有的控制台输出为全部构建,而不是重置控制台每个项目?

  3. 生成一个单独的控制台为Ant?
  4. 的每个新实例
  5. 让我强制建设项目,即使它不认为有什么改变?

  1. terminate a "Build All" as soon as any project's Ant build fails?
  2. save all console output for "Build All" instead of resetting the console for each project?
  3. spawn a separate console for each new instance of Ant?
  4. allow me to force a "Build Project" even if it doesn't think anything has changed?

[更新]奖金问题:


  • 如何配置Eclipse,以便在依赖上项目修复任何构建错误算作为建设项目的宗旨是变?

推荐答案

你试过重定向标准输出通过运行配置到文件?一些屏幕截图,以帮助如果没有......(你也可以尝试'追加'这是不是在我的屏幕截图:))

Have you tried redirecting standard out to file via a run configuration? A few screen shots to help if not... (you may try 'append' this is not in my screen shot :) )

这篇关于Ant构建控制台得到由在Eclipse项目的依赖惨败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆