Hi Stack, http://www.larsgeorge.com/2010/02/ivyde-and-hbase-021-trunk.html
Hope that helps? Lars On Fri, Feb 5, 2010 at 9:21 AM, Lars George <lars.geo...@gmail.com> wrote: > Well, sort of. I am missing jars though. After I got it to work so > that it would at least start fetching the remote jars I noticed still > many compile errors. One of the libs missing for example is > hadoop-mapred. > > To get it to work I had to add three Ivy containers for core, > contrib/stargate and contrib/transactional so that their specific libs > get pulled in. This is also where it gets "ugly" as it pulls in nearly > everything for each of them, so you end up with many duplicate jar > files (which was discussed though here before). > > On each Ivy container I also had to specify "Project specific > settings" and specify the ivy/ivy-settings.xml and > ivy/libraries.properties. One has a URL style format and the other a > standard filename, so that is not very intuitive. I have some > screenshots if you like them? > > > On Thu, Feb 4, 2010 at 6:44 PM, Stack <st...@duboce.net> wrote: >> Did you get it to work Lars? How? Adding ivy/libraries.properties or >> ivy to your CLASSPATH? >> St.Ack >> >> On Thu, Feb 4, 2010 at 5:31 AM, Lars George <lars.geo...@gmail.com> wrote: >>> OOps, looks like I was on an older level. Didn't have the >>> ivy/libraries.properties. Sorry. >>> >>> On Thu, Feb 4, 2010 at 2:08 PM, Lars George <lars.geo...@gmail.com> wrote: >>>> Hey, >>>> >>>> I installed IvyDE but it fails to work as all variables that I guess >>>> are defined in the build.xml are not pulled in: >>>> >>>> ... >>>> ==== public: tried >>>> >>>> >>>> http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-mapred-test/${hadoop-mapred.version}/hadoop-mapred-test-${hadoop-mapred.version}.pom >>>> >>>> :: >>>> org.apache.hadoop#hadoop-mapred-test;${hadoop-mapred.version}: not found >>>> >>>> -- artifact >>>> org.apache.hadoop#hadoop-mapred-test;${hadoop-mapred.version}!hadoop-mapred-test.jar: >>>> >>>> :: org.apache.commons#commons-math;${commons-math.version}: >>>> not found >>>> >>>> >>>> http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-mapred-test/${hadoop-mapred.version}/hadoop-mapred-test-${hadoop-mapred.version}.jar >>>> >>>> :::::::::::::::::::::::::::::::::::::::::::::: >>>> >>>> >>>> module not found: >>>> org.apache.commons#commons-math;${commons-math.version} >>>> >>>> ==== local: tried >>>> >>>> C:\Users\Lars >>>> George\.ivy2/local/org.apache.commons/commons-math/${commons-math.version}/ivys/ivy.xml >>>> >>>> -- artifact >>>> org.apache.commons#commons-math;${commons-math.version}!commons-math.jar: >>>> >>>> C:\Users\Lars >>>> George\.ivy2/local/org.apache.commons/commons-math/${commons-math.version}/jars/commons-math.jar >>>> >>>> ==== shared: tried >>>> >>>> C:\Users\Lars >>>> George\.ivy2/shared/org.apache.commons/commons-math/${commons-math.version}/ivys/ivy.xml >>>> >>>> -- artifact >>>> org.apache.commons#commons-math;${commons-math.version}!commons-math.jar: >>>> >>>> C:\Users\Lars >>>> George\.ivy2/shared/org.apache.commons/commons-math/${commons-math.version}/jars/commons-math.jar >>>> >>>> ==== public: tried >>>> >>>> >>>> http://repo1.maven.org/maven2/org/apache/commons/commons-math/${commons-math.version}/commons-math-${commons-math.version}.pom >>>> >>>> -- artifact >>>> org.apache.commons#commons-math;${commons-math.version}!commons-math.jar: >>>> >>>> >>>> http://repo1.maven.org/maven2/org/apache/commons/commons-math/${commons-math.version}/commons-math-${commons-math.version}.jar >>>> >>>> :::::::::::::::::::::::::::::::::::::::::::::: >>>> >>>> :: UNRESOLVED DEPENDENCIES :: >>>> >>>> :::::::::::::::::::::::::::::::::::::::::::::: >>>> >>>> :: org.apache.hadoop#hadoop-core;${hadoop-core.version}: >>>> not found >>>> >>>> :: org.apache.hadoop#hadoop-hdfs;${hadoop-hdfs.version}: >>>> not found >>>> >>>> :: >>>> org.apache.hadoop#hadoop-mapred;${hadoop-mapred.version}: not found >>>> >>>> :::::::::::::::::::::::::::::::::::::::::::::: >>>> >>>> :: UNRESOLVED DEPENDENCIES :: >>>> >>>> :::::::::::::::::::::::::::::::::::::::::::::: >>>> >>>> :: org.apache.hadoop#hadoop-core;${hadoop-core.version}: >>>> not found >>>> >>>> :: org.apache.hadoop#hadoop-hdfs;${hadoop-hdfs.version}: >>>> not found >>>> >>>> :: org.apache.lucene#lucene-core;${lucene.version}: not >>>> found >>>> >>>> :: log4j#log4j;${log4j.version}: not found >>>> >>>> :: org.jruby#jruby-complete;${jruby.version}: not found >>>> >>>> >>>> :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS >>>> :: >>>> org.apache.hadoop#hadoop-core-test;${hadoop-core.version}: not found >>>> >>>> ERROR: null >>>> >>>> :: problems summary :: >>>> :::: ERRORS >>>> null >>>> >>>> >>>> :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS >>>> ERROR: Error while resolving dependencies for ivy.xml >>>> null >>>> >>>> >>>> How is this supposed to work? This should also be documented on our >>>> Wiki as other devs may have the same issue since we now moved to Ivy. >>>> >>>> Lars >>>> >>> >> >