David, maybe you would like to use the task available before doing your copy. here is an example which works :
<project name="test" default="test"> <property name="from.dir" value="/toto"/> <target name="check"> <available file="${from.dir}" property="from.dir.exists" type="dir"/> </target> <target name="copy" depends="check" if="from.dir.exists"> <copy todir="/temp"> <fileset dir="${from.dir}" includes="**/*"/> </copy> </target> <target name="test" depends="copy"/> </project> Yours Antoine Levy-Lambert -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>