我没有成功地搜索如何使ANT在控制台中打印System.out.println / System.out.print消息.消息根本不会出现.我没有找到任何这样做的简单方法.有没有?
谢谢
解决方法
junit
任务printsummary属性有一个特殊的设置,其中包含OutAndErr:
is the same as on but also includes the output of the test as written to System.out and System.err.