ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: Ivy newbie - curious display
Date Tue, 18 Jan 2011 23:09:29 GMT
Could you run ant in verbose mode to see where the delay is comming from?


Maarten



----- Original Message ----
From: Matthew Painter <Matthew.Painter@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.



      

Mime
View raw message