|
|
-
Ant offline buildPraveen Sripati 2012-04-01, 03:40
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 |