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 ivysettings.xml):
<triggers>
    <ant-call target="touch" event="post-download-artifact"/>
</triggers>

Then in your build script:

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

Or something like that.

Tom

Reply via email to