I am facing issue while copying directories from source to destination in ant build file.
code:-
<target name="getResources" depends="init">
<delete dir="${resources.dir}"/>
<copy file="${svn.resources.url}" tofile="${resources.dir} " />
</target>
Error:-
build.xml:150: Use a resource collection to copy directories.
Please suggest me how to copy directory from source to destination. I used several ways...like
<export srcUrl="" destPath=""> this is also saying deprecated and used and also. but none of the properties are working. Please suggest me how to do.