Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 37225 invoked from network); 5 Oct 2010 13:17:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Oct 2010 13:17:08 -0000 Received: (qmail 87968 invoked by uid 500); 5 Oct 2010 13:17:08 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 87889 invoked by uid 500); 5 Oct 2010 13:17:07 -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 87879 invoked by uid 99); 5 Oct 2010 13:17:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Oct 2010 13:17:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Oct 2010 13:17:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8EE402388A1C; Tue, 5 Oct 2010 13:16:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1004631 - /ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResolver.java Date: Tue, 05 Oct 2010 13:16:46 -0000 To: notifications@ant.apache.org From: hibou@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101005131646.8EE402388A1C@eris.apache.org> Author: hibou Date: Tue Oct 5 13:16:46 2010 New Revision: 1004631 URL: http://svn.apache.org/viewvc?rev=1004631&view=rev Log: IVY-1227: we shouldn't check for modification if we use only the cache Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResolver.java Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResolver.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResolver.java?rev=1004631&r1=1004630&r2=1004631&view=diff ============================================================================== --- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResolver.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResolver.java Tue Oct 5 13:16:46 2010 @@ -436,7 +436,7 @@ public abstract class AbstractResolver return (CacheMetadataOptions) new CacheMetadataOptions() .setChangingMatcherName(getChangingMatcherName()) .setChangingPattern(getChangingPattern()) - .setCheckmodified(checkmodified) + .setCheckmodified(data.getOptions().isUseCacheOnly() ? Boolean.FALSE : checkmodified) .setValidate(doValidate(data)) .setNamespace(getNamespace()) .setForce(data.getOptions().isRefresh())