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