bha*_*ral 5 eclipse ant intellij-idea
在这里使用IntelliJ 12.0
当我在eclipse中运行我的项目上的ant时,我得到了一个可爱的打印输出,看起来非常像我从命令提示符运行时的外观.
当我在IntelliJ中的项目上运行它时,看起来有人不喜欢清晰度.我按下了IntelliJ提供的所有小按钮,但它们都没有让它看起来像它在eclipse中的样子.
我想从IntelliJ获得有意义的输出是什么意思(并跟进,为什么IntelliJ看起来默认蚂蚁控制台看起来如此可怕?)
我没有在任何一个ide中打开任何标志(详细或其他).
UPDATE
示例:这是我的eclipse构建的结束:
run-checkstyle:
gen-ivy-dependency-images:
[echo] Converting dot files to images...
run-clirr:
generate-reports:
[fmpp] - Executing: index.html
[fmpp] - Executing: macros.ftl
[fmpp] - Executing: styles.css
[fmpp] Summary: 3 exe. + 0 xml. + 0 cop. = 3 succ.; 0 warn.; 0 failed
[echo] Project Portal Generated for theProject here: C:\MSDE\user\tools\perforce\user\depot\fast\theProject\trunk\install\common\docs/index.html
Run Code Online (Sandbox Code Playgroud)
这是(粗略地,因为它只是乱码,所以我猜测正在发生的事情)我的蚂蚁构建的相同结尾:
gen-ivy-dependency-images
if
echo
msde:dot2png-on-fileset
sequential
for
sequential
current:dot2png
sequential
exec
exec
sequential
current:dot2png
sequential
exec
exec
sequential
current:dot2png
sequential
exec
exec
sequential
current:dot2png
sequential
exec
exec
sequential
current:dot2png
sequential
exec
exec
sequential
current:dot2png
sequential
exec
exec
sequential
current:dot2png
sequential
exec
exec
run-clirr
generate-reports
msde:create-website
sequential
current:overview-extract
property
fmpp
- Executing: index.html
- Executing: macros.ftl
- Executing: styles.css
Summary: 3 exe. + 0 xml. + 0 cop. = 3 succ.; 0 warn.; 0 failed
echo
post-code-analysis
sequential
build-release
Build finished for: fast/theProject/1.0
Run Code Online (Sandbox Code Playgroud)
不幸的是,没有任何方法可以获得您正在寻找的确切输出.尽管我喜欢IntelliJ IDEA,但在我十年的使用中,我总是发现它的Ant输出有点缺乏.(但它在所有其他领域的出色性能弥补了这一点.)上面显示的Eclipse输出基本上与带有缩进的ant命令行输出相同.
使用IDEA,您有两个基本选项:
树模式将模仿Ant的缩进,但使用GUI树节点.文本模式只是将所有内容打印出来(即非缩进).您可以通过图标切换模式
在这两种模式下,您都可以通过图标打开和关闭"显示所有消息"
启用时,它会增加更多详细程度.
就个人而言,我发现树模式,所有消息都关闭,并展开所有节点
(或Ctrl+ Num Pad +)最接近模仿Ant的输出.虽然添加的图标有点烦人.麻烦的是你无法搜索树模式输出.您必须切换到文本模式才能执行此操作.所以最后,你必须在各种模式之间切换.
另外两个选择是