<copy> uses a timestamp check. For unknown reasons (?) your target file is 
newer than the source file.
You could use overwrite=true for ignoring the timestamps and nest a <modified/> 
selector for selecting
only files which contents changed.


Jan 

> -----Ursprüngliche Nachricht-----
> Von: Md. Jahidul Hasan [mailto:[EMAIL PROTECTED] 
> Gesendet: Mittwoch, 12. März 2008 04:51
> An: user@ant.apache.org
> Betreff: problem with copy task
> 
> Hi
> I am trying to copy some files and if the file exists with different
> content(in the destination area) then copy task doesn't 
> upload the file
> again. I don't want to use the overwrite parameter because 
> there are lots
> of files and I don't want to overwrite all the files again. 
> Just want to
> know how I can use the copy task to copy the file if the file 
> content are
> not same.
> 
> --------------------------
> With best regards
> Hasan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to