Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> Ant offline build


Copy link to this message
-
Ant offline build
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB