ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Widmer <>
Subject Re: Timestamps
Date Mon, 26 Oct 2009 18:29:01 GMT
Andreas Axelsson wrote:
> How can I get Ivy to always set the current time as the modification time of retrieved
files so that build tools relying on time stamps work correctly without having to clean and
rebuild? Currently it preserves the repository time stamp.
> I currently use the last RC that was out before 2.1.0.

You could possibly use a post-download-artifact trigger (in your 
     <ant-call target="touch" event="post-download-artifact"/>

Then in your build script:

<target name="touch">
   <touch file="${file}"/>

Or something like that.


View raw message