如何将在 ANT 中打印源文件列表的目标编码到我的构建文件中 [英] How do I code into my build file a target that prints a list of sourcefiles in ANT
本文介绍了如何将在 ANT 中打印源文件列表的目标编码到我的构建文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将允许查看源文件名称的目标编码到我的构建文件中.我是蚂蚁新手.
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.
推荐答案
尝试
<target name="print-src">
<apply executable="echo">
<fileset dir="src" includes="**/*.java"/>
</apply>
</target>
这篇关于如何将在 ANT 中打印源文件列表的目标编码到我的构建文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文