Le Friday 25 Mar 2011 à 18:36:22 (-0700), Alex Boisvert a écrit :
> Yeah, I'm getting the same issue.
> 
> Downloading the same jar from:
> 
> repositories.remote << "http://www.ibiblio.org/maven2/";

This seems to be some kind of ruby code that I'm not well aware of.

> works just fine.   Just be repository-specific...

Could you pinpoint how to modify that, I mean which line in the
build.xml files? I mean, I changed the lines in lib/java/build.xml to

  <!-- Dependency download location -->
  <property name="mvn.repo" value="http://www.ibiblio.org/maven2"/>
  <property name="apache.repo" 
value="https://repository.apache.org/content/repositories/releases"/>

and I get the failure below. The good point is that I can now wget the
ivy-2.2.0.jar file, whereas it was a 403 forbidden error before.

Making all in java
make[3]: entrant dans le répertoire « /home/yziquel/git/thrift/lib/java »
/usr/bin/ant 
Buildfile: /home/yziquel/git/thrift/lib/java/build.xml

setup.init:

ivy.check:

ivy.download:
      [get] Getting: 
http://www.ibiblio.org/maven2/org/apache/ivy/ivy/2.2.0//ivy-2.2.0.jar
      [get] To: /home/yziquel/git/thrift/lib/java/build/tools/ivy-2.2.0.jar
      [get] Error getting 
http://www.ibiblio.org/maven2/org/apache/ivy/ivy/2.2.0//ivy-2.2.0.jar to 
/home/yziquel/git/thrift/lib/java/build/tools/ivy-2.2.0.jar

BUILD FAILED
/home/yziquel/git/thrift/lib/java/build.xml:120:
java.net.SocketException: Network is unreachable
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:323)
        at 
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
        at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
        at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
        at 
org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:661)
        at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:581)
        at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571)

> alex

-- 
     Guillaume Yziquel

Reply via email to