Have you tried relocating the cache? At one point we noticed ivy was very slow to resolve for some of the guys in the team. It turns out the default location for the ivy cache is relative to the users' home directory, which was a network share. We changed the default cache location in the project ivysettings.xml and it sped up resolution by orders of magnitude. (The build was much faster too because all the cached jars were now local.)
This would also tie in with the slow "download" times - it might not be ibiblio but your home share that's running slow. Cheers, Dan 2008/6/20 Xavier Hanin <[EMAIL PROTECTED]>: > On Fri, Jun 20, 2008 at 10:25 AM, <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > I've added the logging and the results are below. How do I get the latest > > version from the trunk ? Our firewall blocks subversion access so I > cannot > > check it out and build it. > > Did you try with https instead of http access? Usually firewalls don't > block > svn through https traffic. > > > > > > > > Here's the log, a cool 8 minutes 39 seconds to install commons-lang :-) > > > > resolved "commons-lang#commons-lang;2.0" (968ms) > > resolved "commons-lang#commons-lang;2.0" (0ms) > > resolved "commons-lang#commons-lang;2.0" (0ms) > > resolved "commons-lang#commons-lang;2.0" (0ms) > > resolved "commons-lang#commons-lang;2.0" (2860ms) > > > > The console output: > > > > > > Buildfile: C:\Documents and > > Settings\pauln\workspacejazz\CommonBaseCore\iv2.xml > > init-basic: > > [ivy:settings] :: Ivy 2.0.0-beta2 - 20080225093827 :: > > http://ant.apache.org/ivy/ :: > > [ivy:settings] :: loading settings :: file = C:\Documents and > > Settings\pauln\workspacejazz\CommonBaseCore\ivySettings.xml > > basic: > > [ivy:install] :: installing commons-lang#commons-lang;2.0 :: > > [ivy:install] :: resolving dependencies :: > > [ivy:install] found commons-lang#commons-lang;2.0 in maven2 > > [ivy:install] :: downloading artifacts to cache :: > > [ivy:install] downloading > > > > > http://mirrors.ibiblio.org/pub/mirrors/maven2/commons-lang/commons-lang/2.0/commons-lang-2.0.jar > > ... > > [ivy:install] ....... > > [ivy:install] . (165kB) > > [ivy:install] .. (0kB) > > [ivy:install] [SUCCESSFUL ] > > commons-lang#commons-lang;2.0!commons-lang.jar (2860ms) > > [ivy:install] :: installing in team :: > > [ivy:install] published commons-lang to > > > > > \\tgcrepd1\ivy-repository/repositorymaven/commons-lang/commons-lang/2.0.part/commons-lang-2.0.jar > > [ivy:install] published ivy to > > > > > \\tgcrepd1\ivy-repository/repositorymaven/commons-lang/commons-lang/2.0.part/commons-lang-2.0.xml > > [ivy:install] publish commited: moved > > > > > \\tgcrepd1\ivy-repository\repositorymaven\commons-lang\commons-lang\2.0.part > > > > [ivy:install] to > > \\tgcrepd1\ivy-repository\repositorymaven\commons-lang\commons-lang\2.0 > > [ivy:install] :: install resolution report :: > > [ivy:install] :: resolution report :: resolve 0ms :: artifacts dl 2875ms > > According to this log, it's really the download which takes so long. > IBiblio > is sometimes very slow, are you sure the problem doesn't come from here? I > mean, try to use the same settings with Ivy 1.4 and Ivy 2, both with a > clean > cache, and see what happens. To consider the performance problem as related > to Ivy you should better use a repository set up in your own network, where > you can be confident with the repsonse time. > > > Xavier >
