[英]intellij ant build message looks totally different from eclipse antbuild message
在這里使用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
這是(粗略地,因為它只是亂碼,所以我猜測正在發生的事情)我的螞蟻構建的相同結尾:
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
不幸的是,沒有任何方法可以獲得您正在尋找的確切輸出。 盡管我喜歡IntelliJ IDEA,但在我十年的使用中,我總是發現它的Ant輸出有點缺乏。 (但它在所有其他領域的出色性能彌補了這一點。)上面顯示的Eclipse輸出基本上與帶有縮進的ant命令行輸出相同。
使用IDEA,您有兩個基本選項:
樹模式將模仿Ant的縮進,但使用GUI樹節點。 文本模式只是將所有內容打印出來(即非縮進)。 您可以通過圖標切換模式
在這兩種模式下,您都可以通過圖標打開和關閉“顯示所有消息” 啟用時,它會增加更多詳細程度。
就個人而言,我發現樹模式,所有消息都關閉,並展開所有節點 (或Ctrl + Num Pad + )最接近模仿Ant的輸出。 雖然添加的圖標有點煩人。 麻煩的是你無法搜索樹模式輸出。 您必須切換到文本模式才能執行此操作。 所以最后,你必須在各種模式之間切換。
另外兩個選擇是
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.