This works.  Thanks a lot!
In fact, I just copy the directory and create a project with the same name,
eclipse picks up everything by itself.
I just need to add the ant.jar to the library and that's it.

Thanks again!
Hui

On Wed, Sep 17, 2008 at 9:21 AM, Dru Jensen <[EMAIL PROTECTED]> 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!
>>
>
>

Reply via email to