From common-dev-return-75920-apmail-hadoop-common-dev-archive=hadoop.apache.org@hadoop.apache.org Fri Aug 5 02:54:30 2011 Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D3244764D for ; Fri, 5 Aug 2011 02:54:30 +0000 (UTC) Received: (qmail 54374 invoked by uid 500); 5 Aug 2011 02:54:29 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 53939 invoked by uid 500); 5 Aug 2011 02:54:25 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 53930 invoked by uid 99); 5 Aug 2011 02:54:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2011 02:54:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jayhawk@cs.ucsc.edu designates 128.114.48.32 as permitted sender) Received: from [128.114.48.32] (HELO mail-01.cse.ucsc.edu) (128.114.48.32) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2011 02:54:17 +0000 Received: from [192.168.2.8] (174-28-61-72.albq.qwest.net [174.28.61.72]) by mail-01.cse.ucsc.edu (Postfix) with ESMTPSA id 1AF157744005; Thu, 4 Aug 2011 19:53:54 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Trouble resolving external jar dependency From: Noah Watkins In-Reply-To: Date: Thu, 4 Aug 2011 20:53:48 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <331389622.25827.1312156921296.JavaMail.root@mail-01.cse.ucsc.edu>,<590638891.25829.1312156925860.JavaMail.root@mail-01.cse.ucsc.edu> To: common-dev@hadoop.apache.org, "Rottinghuis, Joep" X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org Cool, this got me to where I needed to be. Thanks a lot! -Noah On Aug 1, 2011, at 11:18 AM, Rottinghuis, Joep wrote: > Run a compile with a -verbose option to the ant command. > That makes it more verbose and may reveal what the problem is. >=20 > Another trick you can try is to add a regular dependency (in Ivy) and = drop the file in your local ~/.ivy2 directory. > You'll probably have to create a directory structure to mimick the = group (com.company.tool/tool/version). > See the other files in .ivy2 and/or the pattern in the ivy.xml for the = right pattern. >=20 > Cheers, >=20 > Joep > ________________________________________ > From: Noah Watkins [jayhawk@soe.ucsc.edu] > Sent: Sunday, July 31, 2011 5:02 PM > To: common-dev@hadoop.apache.org > Subject: Trouble resolving external jar dependency >=20 > I'm experimenting with a new file system that depends on an external = jar that is not available right now via maven. I added the jar to the = lib/ directory and hadoop-common builds fine. However, when running 'ant = mvn-install' I get the following error. It seems as though a reference = to the external jar needs to be added in an additional location. Where = might this reference be? Thanks, Noah >=20 > -compile-fault-inject: > [echo] Start weaving aspects in place > [iajc] error at import net.newdream.ceph.rados.Cluster; > [iajc] ^^ > [iajc] = /home/nwatkins/Projects/hadoop/hadoop-common/common/src/java/org/apache/ha= doop/fs/rados/RadosFileSystem.java:44:0::0 The import net cannot be = resolved > [iajc] MessageHolder: (565 info) (1 error) > [iajc] [error 0]: error at import = net.newdream.ceph.rados.Cluster; > [iajc] ^^ > [iajc] = /home/nwatkins/Projects/hadoop/hadoop-common/common/src/java/org/apache/ha= doop/fs/rados/RadosFileSystem.java:44:0::0 The import net cannot be = resolved