Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C663E63F4 for ; Mon, 13 Jun 2011 09:58:44 +0000 (UTC) Received: (qmail 40219 invoked by uid 500); 13 Jun 2011 09:58:41 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 40175 invoked by uid 500); 13 Jun 2011 09:58:41 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 40164 invoked by uid 99); 13 Jun 2011 09:58:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 09:58:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harsh@cloudera.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-iw0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 09:58:37 +0000 Received: by iwr19 with SMTP id 19so5784064iwr.35 for ; Mon, 13 Jun 2011 02:58:16 -0700 (PDT) Received: by 10.42.74.72 with SMTP id v8mr6177250icj.282.1307959096220; Mon, 13 Jun 2011 02:58:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.218.72 with HTTP; Mon, 13 Jun 2011 02:57:56 -0700 (PDT) In-Reply-To: <4DF5BA17.7080604@u-mangate.com> References: <4DF5BA17.7080604@u-mangate.com> From: Harsh J Date: Mon, 13 Jun 2011 15:27:56 +0530 Message-ID: Subject: Re: Common project tests in eclipe To: common-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Eric, Is the problem reported as something like "webapps not found on CLASSPATH"? I see this on mapreduce and hdfs projects at times, but common tests usually run fine out of the box for me. If it is indeed that, this conversation may help solve/provide an answer: http://search-hadoop.com/m/gLWelrO8Mc On Mon, Jun 13, 2011 at 12:49 PM, Eric Charles wrote: > Hi, > > I've imported the hadoop common trunk in eclipse (.classpath and .project > created via ant eclipse). > > ant test build fine (0 failures). > > When I run the junit tests from eclipse (right-click on test folder, "Run as > test"), there are many failures... > > Is there some env (-D...) to give when running from eclipse. > I could hack the ant scripts, but someone here may know the answer :) > > Many tks for your help, > - Eric > -- Harsh J