Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道 build.xml 文件中的以下内容之间有什么区别(如果有的话),对我来说,它们似乎做同样的事情:
1.
<fileset dir="${source}"> <include name="**/*.java"/> </fileset>
2.
<fileset dir="${source}"> <filename name="**/*.java"/> </fileset>
谢谢。
没有区别。两个文件集将包含相同的文件。