Return-Path: Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: (qmail 22553 invoked from network); 10 Jun 2010 06:56:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 06:56:11 -0000 Received: (qmail 453 invoked by uid 500); 10 Jun 2010 06:56:11 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 262 invoked by uid 500); 10 Jun 2010 06:56:09 -0000 Mailing-List: contact common-commits-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-commits@hadoop.apache.org Received: (qmail 246 invoked by uid 500); 10 Jun 2010 06:56:08 -0000 Delivered-To: apmail-hadoop-core-commits@hadoop.apache.org Received: (qmail 243 invoked by uid 99); 10 Jun 2010 06:56:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 06:56:08 +0000 X-ASF-Spam-Status: No, hits=-1549.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 06:56:08 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id E80E017DB7; Thu, 10 Jun 2010 06:55:47 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 10 Jun 2010 06:55:47 -0000 Message-ID: <20100610065547.28373.3187@eos.apache.org> Subject: =?utf-8?q?=5BHadoop_Wiki=5D_Update_of_=22Hbase/EclipseEnvironment=22_by_J?= =?utf-8?q?effHammerbacher?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for ch= ange notification. The "Hbase/EclipseEnvironment" page has been changed by JeffHammerbacher. http://wiki.apache.org/hadoop/Hbase/EclipseEnvironment?action=3Ddiff&rev1= =3D13&rev2=3D14 -------------------------------------------------- = =3D=3D=3D Configuring Eclipse to build HBase =3D=3D=3D = + As indicated in the [[Maven guide to using Eclipse|http://maven.apache.or= g/guides/mini/guide-ide-eclipse.html]], you should navigate to the "Hbasewr= k" directory in your workspace and run "mvn eclipse:eclipse" to generate th= e .project file to use with HBase. You'll have to manually set the M2_REPO = classpath variable by switching back to Eclipse, right-clicking on the proj= ect, selecting "Preferences", navigating to "Java > Build Path > Classpath = Variables", clicking "Add Folder", and then selecting your local Maven repo= sitory (usually ~/.m2/repository"). - Right-click on HBase project and select Properties -> Java Build Path - * Remove everything from the Source tab, use "Add Folder" and add: - {{{ - src/java - src/test - }}} - * In Libraries tab use "Add JARs" and add all jars under lib and lib/jet= ty-ext = - Then select Project->Properties->Builders - = - Add a new Ant builder. Select the top level build.xml as the build file. - = - =3D=3D=3D Ant build fails, cannot run "sh" =3D=3D=3D - = - If you don't have "sh" you will need to install it. - = - For example on Ubuntu Linux: - = - $ sudo apt-get install ssh - = - On Windows, start the cygwin installer and select the packages: - = - * openssh - the Net category - = - Hopefully HBase should now build successfully in Eclipse without any erro= rs. = -=20