【发布时间】:2011-12-25 07:34:48
【问题描述】:
我有一个名为 source-locations 的属性,它包含一个以逗号分隔的文件夹列表,可以在其中找到源代码。
source-locations=src,other_src_dir,yet_another_dir
在我的一个 ant 任务中,我使用了这样的 dirset:
<dirset dir="${basedir}" includes="${source-locations}"/>
我的问题是,在这种情况下,只有 source-locations 属性中列出的目录才会成为 dirset 的一部分,而且我还需要这些目录的所有子目录。我怎样才能做到这一点?
感谢任何输入!谢谢!
【问题讨论】:
标签: ant directory subdirectory