Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 43051 invoked from network); 10 May 2010 22:42:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 May 2010 22:42:51 -0000 Received: (qmail 55561 invoked by uid 500); 10 May 2010 22:42:51 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 55527 invoked by uid 500); 10 May 2010 22:42:51 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 55520 invoked by uid 99); 10 May 2010 22:42:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 May 2010 22:42:50 +0000 X-ASF-Spam-Status: No, hits=-1410.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 May 2010 22:42:50 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4AMgTh3028235 for ; Mon, 10 May 2010 22:42:29 GMT Message-ID: <2170670.6741273531349541.JavaMail.jira@thor> Date: Mon, 10 May 2010 18:42:29 -0400 (EDT) From: "Antoine Levy-Lambert (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVY-1044) retrieve doesn't retrive files if the current one is more recent In-Reply-To: <1652369361.1236601371046.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVY-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865960#action_12865960 ] Antoine Levy-Lambert commented on IVY-1044: ------------------------------------------- Thanks Maarten. I will try this. Antoine > retrieve doesn't retrive files if the current one is more recent > ---------------------------------------------------------------- > > Key: IVY-1044 > URL: https://issues.apache.org/jira/browse/IVY-1044 > Project: Ivy > Issue Type: Improvement > Components: Ant, Core > Affects Versions: 2.0 > Environment: Win XP, J2SE 1.6.0_11-b03 > Reporter: Daniel Dekany > Assignee: Maarten Coene > Fix For: 2.2.0-RC1 > > > The "retrieve" task will not retrieve files (artifacts) whose file modification date is greater than of the file in the repository (in the "resolver"), not even if sync="true". This way the target directory goes out of sync if (a) the module is downgraded in the repository or (b) the developer has overwritten the artifact manually when experiencing with something. Thus the only way to keep the target directory in sync is deleting it before retrieving, but of course that means suboptimal performance, and makes sync="true" useless anyway. Simply, a file should be retrieved if the date (or size!) is *different* than in the repository. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.