Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 5551 invoked from network); 24 Nov 2009 16:42:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Nov 2009 16:42:11 -0000 Received: (qmail 10160 invoked by uid 500); 24 Nov 2009 16:42:11 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 10113 invoked by uid 500); 24 Nov 2009 16:42:10 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 10098 invoked by uid 99); 24 Nov 2009 16:42:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 16:42:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.72.192.248] (HELO fmmailgate07.web.de) (217.72.192.248) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 16:42:01 +0000 Received: from web.de by fmmailgate07.web.de (Postfix) with SMTP id 6D4FEEB5A for ; Tue, 24 Nov 2009 17:41:41 +0100 (CET) Received: from [195.55.69.66] by freemailng5101.web.de with HTTP; Tue, 24 Nov 2009 17:41:40 +0100 Date: Tue, 24 Nov 2009 17:41:40 +0100 Message-Id: <503126113@web.de> MIME-Version: 1.0 From: Felix Dorner To: ivy-user@ant.apache.org Subject: Dynamically switching 'latest' property requires to delete cache Organization: http://freemail.web.de/ X-Provags-Id: V01U2FsdGVkX1+yo4zM4sVbgp/CW8nbRFTU/Yr/TYQulI22ispHsELcsWJ5n jtLZGFBfMs9W0xTZ3qXk74JhSvi/sHAK+5ibR94bT3KjA/Tk74= Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, In my module's ivy file i declare a dependency like this: .. .. In IvyIDE, I specify a properties file in the settings dialog. This properties file defines the value of ${status}. I'm now doing some test runs, using a clean ivy cache. 1) I set status=snapshot. As a result, the dependent module is resolved and placed in the classpath container. Great. 2) I now update to status=integration. None of 'refresh'/'resolve'/'reload settings' updates the classpath container. The snapshot version from step 1) is kept in the classpath container. My repository only publishes a snapshot version of the dependent module, so I'd expect a resolve error here. 3) I now delete the ivy cache directory, and press 'resolve' again. Now IvyIDE fails in resolving, because there's no integration version of my dependent module in the repository. This is expected behavior. Can anyone explain what happens in 2)? Thanks a lot for your help, Felix