0
我在将ant目录从源文件复制到目标文件时遇到问题。使用copydir命令将文件夹从源文件复制到build.xml文件中
代码: -
<target name="getResources" depends="init">
<delete dir="${resources.dir}"/>
<copy file="${svn.resources.url}" tofile="${resources.dir} " />
</target>
错误: -
build.xml:150: Use a resource collection to copy directories.
请建议我如何从源复制目录的目的地。我使用了几种方法...像
<export srcUrl="" destPath="">
这也是说,不推荐使用和也。但没有一个属性正在工作。请告诉我该怎么做。