Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 81995 invoked from network); 29 Sep 2009 22:18:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Sep 2009 22:18:14 -0000 Received: (qmail 84744 invoked by uid 500); 29 Sep 2009 22:18:14 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 84708 invoked by uid 500); 29 Sep 2009 22:18:14 -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 84698 invoked by uid 99); 29 Sep 2009 22:18:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 22:18:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 22:18:05 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Msl0y-00069B-CO for ivy-user@ant.apache.org; Tue, 29 Sep 2009 15:17:44 -0700 Message-ID: <25671897.post@talk.nabble.com> Date: Tue, 29 Sep 2009 15:17:44 -0700 (PDT) From: bman To: ivy-user@ant.apache.org Subject: Re: Ivy resolve not getting latest In-Reply-To: <903893.32691.qm@web30806.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: bpape@netspend.com References: <25531231.post@talk.nabble.com> <694574.83349.qm@web30802.mail.mud.yahoo.com> <25619414.post@talk.nabble.com> <903893.32691.qm@web30806.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks, I've opened https://issues.apache.org/jira/browse/IVY-1132 for this. Maarten Coene wrote: > > ok, it seems like a but to me... > Could you please create a JIRA ticket and put your ivy.xml, settings.xml, > build.xml (or the relevant parts) and the ant verbose log there? > > Maarten > > > > > ----- Original Message ---- > From: bman > To: ivy-user@ant.apache.org > Sent: Friday, September 25, 2009 11:15:18 PM > Subject: Re: Ivy resolve not getting latest > > > The latest Ivy build does not seem to solve my issue. > > More about my environment: > Ant 1.7.0 > Ivy 2.2.x-local-20090906095736 > Artifactory 2.0.6 > > > A less than desirable work around I can use is to clean the cache before > each resolve, but I know that isn't going to go over well. In my looking > around the forums, an idea that would make that workaround less painful > would be to have a cache per resolver and that way I could set it to only > clean the caches that change often with each resolve (I haven't tried this > out yet, but still not ideal). > > Thanks for your Reply! > Barry > > > > > Maarten Coene wrote: >> >> Could you try the trunk version of Ivy? >> It contains a fix for problems with changing artifacts in repositories. >> >> Maarten >> >> >> >> >> ----- Original Message ---- >> From: bman >> To: ivy-user@ant.apache.org >> Sent: Wednesday, September 23, 2009 7:57:32 PM >> Subject: Ivy resolve not getting latest >> >> >> Howdy All, >> >> I'm having trouble trying to get ivy resolve to update with the latest >> jars >> from the repository. If I upload an updated version of a jar, the ivy >> resolve does not update the cache with this new jar. I've searched >> around >> and tried various combinations of using attributes on the resolvers and >> ivy:resolve and setting the ivy.resolver.default.check.modified property >> to >> true. >> >> I've tried using: >> >> >> and various combinations of (I've used the filesystem resolver as well to >> no >> avail): >> > m2compatible="true" > >> force appears to be undesirable because it will update a dependency to >> the >> latest version found in the repository and we have some legacy >> applications >> that we don't want on the latest version of an artifact >> >> When I use: >> >> the resolve fails for any dependency with the format org="com.something" >> ie: >> Without ivy.resolver.default.check.modified=true >> $ ant ivy-retrieve >> Buildfile: build.xml >> >> ivy-retrieve: >> [ivy:resolve] :: Ivy 2.1.0-rc2 - 20090704004254 :: >> http://ant.apache.org/ivy/ :: >> >> [ivy:resolve] :: loading settings :: file = >> c:\dev\eclipse\workspace\ns-nov >> 2009-ivy2\cstool-lib-snapshot\ivysettings.xml >> [ivy:resolve] :: resolving dependencies :: com.ns#cstool;ns-nov2009 >> [ivy:resolve] confs: [base, jboss, test] >> [ivy:resolve] found commons-lang#commons-lang;2.4-NS in nsResolver >> [ivy:resolve] found javacsv#javacsv;1.0-NS in nsResolver >> [ivy:resolve] found com.toedter#jcalendar;1.2.2 in nsChain >> [ivy:resolve] found jdom#jdom;b7 in nsResolver >> [ivy:resolve] found jlfgr#jlfgr;1.0 in nsResolver >> [ivy:resolve] found net.sourceforge.jexcelapi#jxl;2.6 in nsChain >> [ivy:resolve] found log4j#log4j;1.2.14 in nsResolver >> [ivy:resolve] found jgoodies#looks;1.3.1 in nsResolver >> [ivy:resolve] :: resolution report :: resolve 469ms :: artifacts dl 16ms >> >> --------------------------------------------------------------------- >> | | modules || artifacts >> | >> | conf | number| search|dwnlded|evicted|| >> number|dwnlded| >> >> --------------------------------------------------------------------- >> | base | 8 | 0 | 0 | 0 || 8 | 0 >> | >> | jboss | 0 | 0 | 0 | 0 || 0 | 0 >> | >> | test | 0 | 0 | 0 | 0 || 0 | 0 >> | >> >> --------------------------------------------------------------------- >> [ivy:resolve] >> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS >> [ivy:retrieve] :: retrieving :: com.ns#cstool >> [ivy:retrieve] confs: [base, jboss, test] >> [ivy:retrieve] 0 artifacts copied, 8 already retrieved (0kB/47ms) >> >> BUILD SUCCESSFUL >> Total time: 1 second >> >> With ivy.resolver.default.check.modified=true >> $ ant ivy-retrieve >> Buildfile: build.xml >> >> ivy-retrieve: >> [ivy:resolve] :: Ivy 2.1.0-rc2 - 20090704004254 :: >> http://ant.apache.org/ivy/ :: >> >> [ivy:resolve] :: loading settings :: file = >> c:\dev\eclipse\workspace\ns-nov >> 2009-ivy2\cstool-lib-snapshot\ivysettings.xml >> [ivy:resolve] :: resolving dependencies :: com.ns#cstool;ns-nov2009 >> [ivy:resolve] confs: [base, jboss, test] >> [ivy:resolve] found commons-lang#commons-lang;2.4-NS in nsResolver >> [ivy:resolve] found javacsv#javacsv;1.0-NS in nsResolver >> [ivy:resolve] found jdom#jdom;b7 in nsResolver >> [ivy:resolve] found jlfgr#jlfgr;1.0 in nsResolver >> [ivy:resolve] found log4j#log4j;1.2.14 in nsResolver >> [ivy:resolve] found jgoodies#looks;1.3.1 in nsResolver >> [ivy:resolve] :: resolution report :: resolve 828ms :: artifacts dl 16ms >> >> --------------------------------------------------------------------- >> | | modules || artifacts >> | >> | conf | number| search|dwnlded|evicted|| >> number|dwnlded| >> >> --------------------------------------------------------------------- >> | base | 8 | 6 | 0 | 0 || 6 | 0 >> | >> | jboss | 0 | 0 | 0 | 0 || 0 | 0 >> | >> | test | 0 | 0 | 0 | 0 || 0 | 0 >> | >> >> --------------------------------------------------------------------- >> [ivy:resolve] >> [ivy:resolve] :: problems summary :: >> [ivy:resolve] :::: WARNINGS >> [ivy:resolve] module not found: com.toedter#jcalendar;1.2.2 >> [ivy:resolve] ==== localResolver2: tried >> [ivy:resolve] -- artifact com.toedter#jcalendar;1.2.2!jcalendar.jar: >> [ivy:resolve] C:\Documents and >> Settings\bpape/.ivy2/cachetest/com/toedter/jc >> alendar/1.2.2/jcalendar-1.2.2.jar >> [ivy:resolve] ==== nsResolver: tried >> [ivy:resolve] -- artifact com.toedter#jcalendar;1.2.2!jcalendar.jar: >> [ivy:resolve] >> http://172.0.0.0:8080/artifactory-2.0.6/libs-snapshots-loca >> l/com/toedter/jcalendar/1.2.2/jcalendar-1.2.2.jar >> [ivy:resolve] >> http://172.0.0.0:8080/artifactory-2.0.6/libs-releases-local >> /com/toedter/jcalendar/1.2.2/jcalendar-1.2.2.jar >> [ivy:resolve] >> http://172.0.0.0:8080/artifactory-2.0.6/ext-releases-local/ >> com/toedter/jcalendar/1.2.2/jcalendar-1.2.2.jar >> [ivy:resolve] module not found: >> net.sourceforge.jexcelapi#jxl;2.6 >> [ivy:resolve] ==== localResolver2: tried >> [ivy:resolve] -- artifact net.sourceforge.jexcelapi#jxl;2.6!jxl.jar: >> [ivy:resolve] C:\Documents and >> Settings\bpape/.ivy2/cachetest/net/sourceforg >> e/jexcelapi/jxl/2.6/jxl-2.6.jar >> [ivy:resolve] ==== nsResolver: tried >> [ivy:resolve] -- artifact net.sourceforge.jexcelapi#jxl;2.6!jxl.jar: >> [ivy:resolve] >> http://172.0.0.0:8080/artifactory-2.0.6/libs-snapshots-loca >> l/net/sourceforge/jexcelapi/jxl/2.6/jxl-2.6.jar >> [ivy:resolve] >> http://172.0.0.0:8080/artifactory-2.0.6/libs-releases-local >> /net/sourceforge/jexcelapi/jxl/2.6/jxl-2.6.jar >> [ivy:resolve] >> http://172.0.0.0:8080/artifactory-2.0.6/ext-releases-local/ >> net/sourceforge/jexcelapi/jxl/2.6/jxl-2.6.jar >> [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: >> [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: >> [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: >> [ivy:resolve] :: com.toedter#jcalendar;1.2.2: not found >> [ivy:resolve] :: net.sourceforge.jexcelapi#jxl;2.6: not found >> [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: >> [ivy:resolve] >> [ivy:resolve] >> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS >> >> BUILD FAILED >> c:\dev\eclipse\workspace\ns-nov2009-ivy2\cstool-lib-snapshot\build.xml:109: >> impossible to resolve dependencies: >> resolve failed - see output for details >> >> Total time: 2 seconds >> >> >> Am I totally overlooking or misunderstanding something? >> >> Thanks! >> Barry >> -- >> View this message in context: >> http://www.nabble.com/Ivy-resolve-not-getting-latest-tp25531231p25531231.html >> Sent from the ivy-user mailing list archive at Nabble.com. >> >> >> >> >> > > -- > View this message in context: > http://www.nabble.com/Ivy-resolve-not-getting-latest-tp25531231p25619414.html > Sent from the ivy-user mailing list archive at Nabble.com. > > > > > -- View this message in context: http://www.nabble.com/Ivy-resolve-not-getting-latest-tp25531231p25671897.html Sent from the ivy-user mailing list archive at Nabble.com.