0
我使用Groovy的AntBuilder執行Ant任務時:如何刪除裝飾像[執行]使用Groovy的AntBuilder
def ant = new AntBuilder()
ant.sequential {
ant.exec(executable: "cmd", dir: "..", resultproperty: "exec-ret-code") {
arg(value: "/c")
arg(line: "dir")
}
}
輸出線由前綴:
[執行]
在命令行上使用Ant,這是由「emacs模式」關閉
ant -emacs ...
有沒有一種辦法使用AntBuilder切換到emacs模式?
經過測試,它的工作原理!謝謝Christoph! Groovy傢伙,請添加一個groovier的方式來做到這一點! :-) – 2010-05-28 13:06:21
很高興能幫到你! – 2010-05-28 13:52:55