【发布时间】:2009-05-07 18:22:05
【问题描述】:
当你像下面这样组合这些 Fileset 属性时,似乎没有: 例如:
<fileset dir="src">
<include name="gov/nasa/arc/mas/selenium/tests/*.java" />
<excludesfile name="${test.suite}.exclude" />
</fileset>
它具有预期的行为,即在 src 下包含所有 *.java 但排除在 excludefile 中指定的所有文件。
是否可以结合 include 和 excludesfile 或者您是否需要使用相应的 containsfile?
很遗憾这些事情没有记录在案,而且很难在谷歌上找到解释。
【问题讨论】:
-
可能需要您的 build.xml 的较大部分才能完全调试您的问题。您能否在周围的任务/目标以及(格式正确的)排除文件中进行编辑?这里的“cmets”不保留格式。
标签: java eclipse ant junit build.xml