Check for the existance of the directory before to copy using

<available file="bin/${configdir}" property="configdir.exist"/>

than wrap your copydir into a task

<task name="dist-config" if="configdir.exist>
</task>

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 14, 2000 8:14 AM
Subject: [BUG] Problem with when copying files from empty directory?


> 
> 
> 
> 
> This task fails when bin/${configdir} contains no files to copy.
> 
>           <copydir src="bin/${configdir}"
>                dest="${ebis.web.dest}/common/bin"/>
> 
> 
> 
> 
> 
> _____________________________________________________________________
> CAUTION - This message may contain privileged and confidential 
> information intended only for the use of the addressee named above.
> If you are not the intended recipient of this message you are hereby 
> notified that any use, dissemination, distribution or reproduction 
> of this message is prohibited. If you have received this message in 
> error please notify Ansett Australia immediately. Any views expressed 
> in this message are those of the individual sender and may not 
> necessarily reflect the views of Ansett Australia.
> 
> ABN Ansett Australia Ltd 37 004 209 410
> ABN Ansett International Ltd 72 060 622 460
> _____________________________________________________________________

Reply via email to