'make -n'相当于蚂蚁

Jav*_*vad 9 ant makefile

根据make的手册页,-n选项执行以下工作:

Print the commands that would be executed, but do not execute them.

我正在寻找一个在Apache Ant中行为相同的选项.

sta*_*ker 1

Ant 没有 make 或 maven 那样的试运行选项。但是你可以在eclipse下以调试模式一步步运行ant文件。