Return-Path: X-Original-To: apmail-hadoop-general-archive@minotaur.apache.org Delivered-To: apmail-hadoop-general-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95B6E7704 for ; Wed, 3 Aug 2011 02:10:09 +0000 (UTC) Received: (qmail 16428 invoked by uid 500); 3 Aug 2011 02:10:07 -0000 Delivered-To: apmail-hadoop-general-archive@hadoop.apache.org Received: (qmail 16361 invoked by uid 500); 3 Aug 2011 02:10:07 -0000 Mailing-List: contact general-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@hadoop.apache.org Delivered-To: mailing list general@hadoop.apache.org Received: (qmail 16353 invoked by uid 99); 3 Aug 2011 02:10:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 02:10:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vicaya@gmail.com designates 209.85.161.176 as permitted sender) Received: from [209.85.161.176] (HELO mail-gx0-f176.google.com) (209.85.161.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 02:10:01 +0000 Received: by gxk7 with SMTP id 7so338135gxk.35 for ; Tue, 02 Aug 2011 19:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=kleYBblBl/ND2nR8CCKwYDVjg8decuiayeuI7OFSrd4=; b=X/Ofq5B5v6uOIwdncZouXFyd062JA0Y8hZ49LKvAPFKD5ni75gE+7sxLK+9oN5fCok eMcw0zrKuyyEToJJp5NTOSVWodboRIR1pEjxxsHznywvKZDYxERT4NAdi9ehXcNo4Atg EPEVLLeAwNr1z3TgvRLQaXQIU7BhCX6nooKGw= MIME-Version: 1.0 Received: by 10.236.176.198 with SMTP id b46mr5150106yhm.426.1312337380606; Tue, 02 Aug 2011 19:09:40 -0700 (PDT) Sender: vicaya@gmail.com Received: by 10.236.103.19 with HTTP; Tue, 2 Aug 2011 19:09:40 -0700 (PDT) In-Reply-To: References: Date: Tue, 2 Aug 2011 19:09:40 -0700 X-Google-Sender-Auth: MZjCP4OeXp6o03AQN9Lkro044Fk Message-ID: Subject: Re: getting started building Mavenized hadoop common From: Luke Lu To: general@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Tue, Aug 2, 2011 at 3:21 PM, Alejandro Abdelnur wrote: > Jeffrey, > > Thanks. > > Regarding adding the 'target/generated-src/test/java' dir to the build path. > You are correct, you have to add it manually to your IDE (I use IntelliJ and > it is the same story). But unless you need to debug through the generated > code you don't need to do so (doing a 'mvn test -DskipTests' will > generate/compile the class and the .class file will be in the IDE project > classpath). Well, the canonical maven generated sources directory is "generated-sources" instead of "generated-src". Can you try the patch on HADOOP-7502 (which works for me) to see if it works for you? __Luke