hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Smith" <ryan.justin.sm...@gmail.com>
Subject Re: build hadoop in eclipse
Date Wed, 17 Sep 2008 16:45:52 GMT
Another way to build hadoop (my preferred way) is to install the subversion
plugin, subclipse.
If you dont have it already, Google: subclipse  and install the plugin from
tigris.  After that, go in eclipse and click window > show view > other >
svn repository exploring.
Then add the apache source foundation svn server as a repository. (
Browse to the hadoop folder and check out a branch to compile.  The new
project wizard is started.
Once its set up, it sure beats downloading and extracting by hand all
subsequent versions.  This is also good b/c its easy to add the project as a
source folder when youre debugging & its now easy to checkout any asf
project you want :)

On Wed, Sep 17, 2008 at 12:21 PM, Dru Jensen <drujensen@gmail.com> wrote:

> You need  to setup your Eclipse Java project and make sure your source path
> and library paths are properly setup.
> 0. unzip the download in your Eclipse workspace directory.  It should
> create the hbase-0.2.1 directory.
> 1. Create a new java project and select the hbase-0.2.1 directory that you
> unzipped.
> 2. Goto project->properties and select "Java Build Path".  Select the
> Source tab and add the /src/java and /src/test directories.
> 3. In the same dialog, Select the Library tab and add the /lib directory.
> 4. Goto window->show view and select Ant.  This will add a new view that
> allows you to run ant tasks.
> 5. Drag and drop the build.xml to the Ant view.  You should be able to
> launch ant tasks from the UI.
> Hope this helps.
> On Sep 17, 2008, at 8:59 AM, Ski Gh3 wrote:
>  Hi all,
>> This is more of a eclipse beginer question rather than a hadoop question,
>> but please help me.
>> I want to build hadoop in eclipse, but how can i set up the project?
>> Suppose
>> I do not want to use the svn tool.
>> After http download, I was able to build using ant from command line, and
>> I
>> tried to create a project from the build.xml
>> file, it gives me error like cannot find \lib etc...
>> I'm sure there's a simple way to do this, can someone please give me a
>> hand!
>> Many thanks!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message