问题
How do I code into my build file a target that allows one view the names of my source files. I am new to ant.
回答1:
Try
<target name="print-src">
<apply executable="echo">
<fileset dir="src" includes="**/*.java"/>
</apply>
</target>
来源:https://stackoverflow.com/questions/30334813/how-do-i-code-into-my-build-file-a-target-that-prints-a-list-of-sourcefiles-in-a