You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by KevinPS <ke...@romonet.com> on 2012/02/15 11:08:19 UTC

Jar downloads failing

Hi, 

We're having a problem on a couple of machines with an ivy resolve that
appears to work from other machines (all in the same office, no proxies,
etc.). The problem we're having is that it will download a few jars and then
"stick". Here is a sample from the console:

[ivy:retrieve] downloading
http://repo1.maven.org/maven2/org/springframework/spr
ing-webmvc/3.1.0.RELEASE/spring-webmvc-3.1.0.RELEASE.jar ...
[ivy:retrieve]
.................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
..................................... (558kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ]
org.springframework#spring-webmvc;3.1.0.RELEASE!sp
ring-webmvc.jar (2459ms)
[ivy:retrieve] downloading
http://repo1.maven.org/maven2/org/testng/testng/5.10/
testng-5.10-jdk15.jar ...


It then gets no further. The file it's getting exists and if you manually
download it to the Ivy cache it's correctly found in the next run, but then
some other file will fail to download. 


This is all on windows with ant 1.8.2 and ivy 2.2.0. The ivy file is as
follows:

<ivy-module version="2.0">
    <info organisation="com.romonet" module="simulationNode"/>
    <dependencies>
       <dependency org="log4j" name="log4j" rev="1.2.15"
conf="*->*,!sources,!javadoc"/>
       <dependency org="commons-lang" name="commons-lang"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
       <dependency org="commons-io" name="commons-io"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
	   <dependency org="commons-cli" name="commons-cli"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
       <dependency org="com.googlecode.lambdaj" name="lambdaj"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
       <dependency org="com.google.code.svenson" name="svenson"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
       <dependency org="org.slf4j" name="slf4j-log4j12"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
       <dependency org="org.hibernate" name="hibernate-core" rev="4.0+"
conf="*->*,!sources,!javadoc"/>
	   <dependency org="org.springframework" name="spring-core"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
	   <dependency org="org.springframework" name="spring-context"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
	   <dependency org="org.springframework" name="spring-test"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
	   <dependency org="org.mockito" name="mockito-core"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
	   <dependency org="org.springframework.amqp" name="spring-rabbit"
rev="latest.integration" conf="*->*,!sources,!javadoc"/>
	   <dependency org="jama" name="jama" rev="latest.integration"
conf="*->*,!sources,!javadoc"/>

       <exclude org="javax.*" matcher="exactOrRegexp"/>
       <exclude module="jandex" matcher="exactOrRegexp"/>
       <exclude module="jboss-logging" matcher="exactOrRegexp"/>
       <exclude org="org.jboss.javaee" matcher="exactOrRegexp"/>
       <exclude module="com.springsource.org.hibernate.validator"
matcher="exact"/>
       
    </dependencies>
</ivy-module>


The ivy setting file is:

<ivysettings>
  <settings defaultResolver="repositories"/>
  <resolvers>
    <chain name="repositories">
	<ibiblio name="central" m2compatible="true"/>
	<ibiblio name="camb chem dept" m2compatible="true"
root="http://maven.ch.cam.ac.uk/m2repo"/>
	<ibiblio name="mbari" m2compatible="true"
root="https://mbari-maven-repository.googlecode.com/svn/repository"/>
    </chain>
  </resolvers>
</ivysettings>


Any help most welcome!

Kevin
-- 
View this message in context: http://old.nabble.com/Jar-downloads-failing-tp33327542p33327542.html
Sent from the ivy-user mailing list archive at Nabble.com.