在Ant里可以使用echoproperties task来达到目的
<target name="run"> <echoproperties /> </target>
【Ant】How to print all the system properties in Ant build file
原文:http://www.cnblogs.com/buhaiqing/p/3525080.html