How do I code into my build file a target that pri

2019-09-22 02:42发布

问题:

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>


标签: java ant