FYI, I have 'fixed' the problem by removing the dependency to Ivy RoundUp. I 
was using this only for Hibernate 3.6.0, which ended up causing me a world of 
pain getting to play nicely with, well, anything.

-----Original Message-----
From: Matthew Painter 
Sent: Wednesday, 19 January 2011 12:17 p.m.
To: 'ivy-user@ant.apache.org'
Subject: RE: Ivy newbie - curious display

Thanks Maarten. Relevant snippet as follows:

-- snip --
[ivy:cachefileset] == resolving dependencies 
org.hibernate#hibernate;3.5.4-Final->javax.transaction#jta;[1.1,2.0[ 
[core->default] [ivy:cachefileset] default: Checking cache for: dependency: 
javax.transaction#jta;[1.1,2.0[ {core=[default]} [ivy:cachefileset] 
default-cache: cached resolved revision expired for 
javax.transaction#jta;[1.1,2.0[ [ivy:cachefileset] default-cache: cached 
resolved revision expired for javax.transaction#jta;[1.1,2.0[
[ivy:cachefileset]              tried 
http://ivyroundup.googlecode.com/svn/trunk/repo/modules/javax.transaction/jta/[revision]/ivy.xml
[ivy:cachefileset]      roundup: found md file for 
javax.transaction#jta;[1.1,2.0[
[ivy:cachefileset]              => 
http://ivyroundup.googlecode.com/svn/trunk/repo/modules/javax.transaction/jta/1.1/ivy.xml
 (1.1)
[ivy:cachefileset]      default-cache: revision in cache: 
javax.transaction#jta;1.1
[ivy:cachefileset]      found javax.transaction#jta;1.1 in public
[ivy:cachefileset]      [1.1] javax.transaction#jta;[1.1,2.0[
-- snip --

So, the files are being cached but the cache is being immediately expired? 
Where would I go about fixing this? I haven't explicitly set any caching 
properties, apart from the resourceCache path for Ivy Roundup.

M



-----Original Message-----
From: Maarten Coene [mailto:maarten_co...@yahoo.com]
Sent: Wednesday, 19 January 2011 12:09 p.m.
To: ivy-user@ant.apache.org
Subject: Re: Ivy newbie - curious display

Could you run ant in verbose mode to see where the delay is comming from?


Maarten



----- Original Message ----
From: Matthew Painter <matthew.pain...@archives.govt.nz>
To: "ivy-user@ant.apache.org" <ivy-user@ant.apache.org>
Sent: Tue, January 18, 2011 11:53:08 PM
Subject: Ivy newbie - curious display

Hi,

I'm currently finding my feet with Ivy. I am using the standard resolvers and 
am chaining a few others (Ivy Roundup and the two Spring Ivy repositories).

All works, however for some packages I get odd entries displaying (the ones 
prefixed by [1.1.] and [2.7.7]:

-- snip --
[ivy:cachepath]         found 
org.apache.juli#com.springsource.org.apache.juli.extras;6.0.16 in default
[ivy:cachepath]         found 
org.apache.coyote#com.springsource.org.apache.coyote;6.0.16 in default
[ivy:cachepath]         found org.hibernate#hibernate;3.5.4-Final in roundup
[ivy:cachepath]         found javax.transaction#jta;1.1 in public
[ivy:cachepath]         [1.1] javax.transaction#jta;[1.1,2.0[
[ivy:cachepath]         found org.antlr#antlr;2.7.7 in roundup
[ivy:cachepath]         [2.7.7] org.antlr#antlr;[2.7.6,2.8[
-- snip --

It's around a second between these being displayed whereas the 'found...' lines 
zip through. 


Any ideas? Or is this expected? These steps are making the cachepath command 
take ~12 seconds instead of ~1 second.

My custom resolvers are:


  <!--  Roundup repository for Hibernate -->
  <packager name="roundup" buildRoot="${user.home}/.ivy2/packager/build" 
resourceCache="${user.home}/.ivy2/packager/cache">
   <ivy
pattern="http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/ivy.xml"/>

   <artifact
pattern="http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/packager.xml"/>

  </packager>

  <!--  Spring repositories -->
  <url name="spring-release">
   <ivy
pattern="http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
 />
   <artifact
pattern="http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
 />
  </url>
  <url name="spring-external">
   <ivy
pattern="http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
 />
   <artifact
pattern="http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
 />
  </url>

Many thanks,
Matt
This e-mail message and any attachments are CONFIDENTIAL to the addressee(s) 
and may also be LEGALLY PRIVILEGED.  If you are not the intended addressee, 
please do not use, disclose, copy or distribute the message or the information 
it contains.  Instead, please notify me as soon as possible and delete the 
e-mail, including any attachments.  Thank you.



      
This e-mail message and any attachments are CONFIDENTIAL to the addressee(s) 
and may also be LEGALLY PRIVILEGED.  If you are not the intended addressee, 
please do not use, disclose, copy or distribute the message or the information 
it contains.  Instead, please notify me as soon as possible and delete the 
e-mail, including any attachments.  Thank you.

Reply via email to