Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 34865 invoked from network); 14 Jul 2009 21:39:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jul 2009 21:39:27 -0000 Received: (qmail 54674 invoked by uid 500); 14 Jul 2009 21:39:37 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 54614 invoked by uid 500); 14 Jul 2009 21:39:37 -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 54605 invoked by uid 99); 14 Jul 2009 21:39:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 21:39:37 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 21:39:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DC8FE29A0013 for ; Tue, 14 Jul 2009 14:39:14 -0700 (PDT) Message-ID: <374175841.1247607554902.JavaMail.jira@brutus> Date: Tue, 14 Jul 2009 14:39:14 -0700 (PDT) From: "Paul Andrews (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVY-938) Fixed name snapshots are not updated even if they are marked as changing and the publication date is changed in repo In-Reply-To: <2141174062.1223627744509.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-938?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1273114= 0#action_12731140 ]=20 Paul Andrews commented on IVY-938: ---------------------------------- Same problem here (with 2.1.0-RC1). I have changing=3D"true" on the depende= ncy and changingPattern=3D".*SNAPSHOT.*" checkmodified=3D"true" on (in this= case) a URL resolver called hudson_sper. Running ant -v I see the followin= g: [ivy:resolve] =3D=3D resolving dependencies com.ftid.sper#sper_svc_ejb;work= ing@A55584->com.ftid.sper#sperDbServer;SNAPSHOT [dist->default] [ivy:resolve] chained: Checking cache for: dependency: com.ftid.sper#sperDb= Server;SNAPSHOT {dist=3D[default]} [ivy:resolve] don't use cache for com.ftid.sper#sperDbServer;SNAPSHOT: chan= ging=3Dtrue [ivy:resolve] don't use cache for com.ftid.sper#sperDbServer;SNAPSHOT: chan= ging=3Dtrue [ivy:resolve] CLIENT ERROR: Artifact metadata not found for 'com/ftid/sper/= sperDbServer/SNAPSHOT/maven-metadata.xml'. url=3Dhttp://gendev-lnx:9090/art= ifactory/repo/com/ftid/sper/sperDbServer/SNAPSHOT/maven-metadata.xml [ivy:resolve] =09maven-metadata not available: http://gendev-lnx:9090/artif= actory/repo/com/ftid/sper/sperDbServer/SNAPSHOT/maven-metadata.xml [ivy:resolve] =09=09tried http://gendev-lnx:9090/artifactory/repo/com/ftid/= sper/sperDbServer/SNAPSHOT/sperDbServer-SNAPSHOT.jar [ivy:resolve] CLIENT ERROR: Artifact not found: com/ftid/sper/sperDbServer/= SNAPSHOT/sperDbServer-SNAPSHOT.jar url=3Dhttp://gendev-lnx:9090/artifactory= /repo/com/ftid/sper/sperDbServer/SNAPSHOT/sperDbServer-SNAPSHOT.jar [ivy:resolve] =09internal: no ivy file nor artifact found for com.ftid.sper= #sperDbServer;SNAPSHOT [ivy:resolve] don't use cache for com.ftid.sper#sperDbServer;SNAPSHOT: chec= kModified=3Dtrue [ivy:resolve] =09=09tried http://localhost:9090/hudson/job/SPER/lastSuccess= fulBuild/artifact/sper/java/dist/sperDbServer.jar [ivy:resolve] =09hudson_sper: no ivy file found for com.ftid.sper#sperDbSer= ver;SNAPSHOT: using default data [ivy:resolve] =09found com.ftid.sper#sperDbServer;SNAPSHOT in hudson_sper And later: [ivy:resolve] =09[NOT REQUIRED] com.ftid.sper#sperDbServer;SNAPSHOT!sperDbS= erver.jar Note that there is no Ivy file associated with the artifact - it is just an= artifact created by a Hudson build. I traced the requests being sent to the server: Ivy is sending a HEAD reque= st and getting back a later modification date than the one that is in the c= ache, but it never issues the GET. > Fixed name snapshots are not updated even if they are marked as changing = and the publication date is changed in repo > -------------------------------------------------------------------------= ------------------------------------------- > > Key: IVY-938 > URL: https://issues.apache.org/jira/browse/IVY-938 > Project: Ivy > Issue Type: Bug > Components: Core, Maven Compatibility > Affects Versions: 2.0-RC1 > Reporter: Jyri Kyt=C3=B6m=C3=A4ki > Attachments: CacheUpdateTest.zip, CacheUpdateTest2.zip, ivysettin= gs.xml > > > Snapshot releases with static name like 1.2.3-SNAPSHOT are not updated in= to the cache. > Same problem is with ivy and maven remote repos. > Here ivy example: > Remote ivy repo contains in ivy xml: > status=3D"integration" publication=3D"20081010104634" > Cache contains (.xml): > status=3D"integration" publication=3D"20081010095107" > But ivy_resolve does not update the cache. It prints this with verbose o= utput: > [ivy-resolve] default: Checking cache for: dependency: org#>module;1.2.3-= SNAPSHOT {runtime=3D[runtime]} > [ivy-resolve] don't use cache for org#>module;1.2.3-SNAPSHOT: changing=3D= true > [ivy-resolve] local: Checking cache for: dependency: org#>module;1.2.3-SN= APSHOT{runtime=3D[runtime]} > [ivy-resolve] local: module revision found in cache: org#>module;1.2.3-SN= APSHOT > [ivy-resolve] found org#>module;1.2.3-SNAPSHOT in remote_ivy > ... > [ivy-resolve] :: downloading artifacts :: > [ivy-resolve] [NOT REQUIRED] org#>module;1.2.3-SNAPSHOT!module.jar --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.