ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claudio Miranda <clau...@claudius.com.br>
Subject Re: How to download files from ivyrepo with the same last-modified date ?
Date Wed, 28 May 2008 20:18:29 GMT


At
https://svn.apache.org/repos/asf/ant/ivy/core/tags/2.0.0-beta2/src/java/org/apache/ivy/util/url/BasicURLHandler.java

method: download

    I see that it is possible to set the downloaded file with the original
timestamp with

dest.setLastModified(srcConn.getLastModified());

    I will open an issue and attach a patch.

Thanks

Claudio Miranda


Claudio Miranda wrote:
> 
>     Ivy downloads it and changes its timestamp to the current download
> date.
> 
>     Is it possible to ivy to retain the original date ?
> 


-----
Claudio Miranda
http://weblogs.java.net/blog/claudio
http://www.claudius.com.br/blog
-- 
View this message in context: http://www.nabble.com/How-to-download-files-from-ivyrepo-with-the-same-last-modified-date---tp17515745p17521094.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message