Customizing AntRunner output

2019-07-24 21:27发布

问题:

I'm using Eclipse's AntRunner to build a set of plugins, but I'm having trouble in configuring the logging behavior. Specifically, I'd like AntRunner not to display empty tasks. Anybody knows how to do this?

回答1:

The solution is to pass the following JVM options:

java -jar ... -logger org.apache.tools.ant.NoBannerLogger