hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Sripati <praveensrip...@gmail.com>
Subject Ant offline build
Date Sun, 01 Apr 2012 03:40:36 GMT
Hi,

I have got the code for 0.22 and did the build successfully using 'ant
clean compile eclipse' command. But, the ant command is downloading the
dependent jar files every time. How to make ant use the local jar files and
not download from the internet, so that build can be done offline?

Here is the error I get when working offline.

ivy-download:
      [get] Getting:
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
      [get] To:
/home/praveensripati/WorkSpace/Hadoop/0.22/mapreduce/ivy/ivy-2.1.0.jar
      [get] Error getting
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar to
/home/praveensripati/WorkSpace/Hadoop/0.22/mapreduce/ivy/ivy-2.1.0.jar

BUILD FAILED
/home/praveensripati/WorkSpace/Hadoop/0.22/mapreduce/build.xml:2058:
java.net.UnknownHostException: repo2.maven.org

Thanks,
Praveen

Mime
View raw message