hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Trivial Update of "EclipseEnvironment" by MarkButler
Date Tue, 16 Oct 2007 08:53:27 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by MarkButler:
http://wiki.apache.org/lucene-hadoop/EclipseEnvironment

------------------------------------------------------------------------------
  
  === Configuring Eclipse to build Hadoop ===
  
- If you want to build all of Hadoop in Eclipse, including contributions, then there are some
[http://lucene.apache.org/hadoop/api/org/apache/hadoop/record/package-summary.html#skip-navbar_top
DDL] files used by the tests that need to compiled first. One strategy is to configure Eclipse
to call part of the Ant script to build these, and have two build directories, one for the
Ant script, the other for Eclipse, as you need to include the classes built by Ant on the
Eclipse library path and circular references are forbidden. 
+ If you want to build all of Hadoop in Eclipse then there are some [http://lucene.apache.org/hadoop/api/org/apache/hadoop/record/package-summary.html#skip-navbar_top
DDL] files used by the tests that need to compiled first. One strategy is to configure Eclipse
to call part of the Ant script to build these, and have two build directories, one for the
Ant script, the other for Eclipse, as you need to include the classes built by Ant on the
Eclipse library path and circular references are forbidden. 
  
  In Eclipse, select Project -> Properties -> Java Build Path -> Source
  
@@ -59, +59 @@

  hadoop/src/contrib/streaming/src/java
  hadoop/src/contrib/streaming/src/test
  }}}
- and set the output folder to hadoop/eclipse-build.
- 
+ and set the output folder to 
+ {{{
+ hadoop/eclipse-build
+ }}}
  Then select Project -> Properties -> Java Build Path -> Libraries
  
- Add all the libraries in 
+ Add all the libraries (.jar files) in 
  {{{
  hadoop/lib
  hadoop/lib/jetty-ext
  }}}
  
- If you are using contrib also use 
+ If you are using contrib also add all the libraries (.jar files) in
  {{{
  hadoop/src/contrib/hbase/lib
  }}}
- Then add hadoop/build/test/classes to the library path
+ Then add the classes in
+ {{{
+ hadoop/build/test/classes
+ }}}
  
  Then select Project->Properties->Builders
  

Mime
View raw message