ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: problem with copy task
Date Wed, 12 Mar 2008 05:34:41 GMT
<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:jahidul.hasan@bjitgroup.com] 
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message