hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "EclipseEnvironment" by TomWhite
Date Fri, 28 Mar 2008 10:32:04 GMT
Dear Wiki user,

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

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

The comment on the change is:
Added instructions from HADOOP-1228

------------------------------------------------------------------------------
  Refer to the [http://www.polarion.org/index.php?page=faq&project=subversive Subversive
FAQ].
  
  === Configuring Eclipse to build Hadoop ===
+ 
+ As of 28 March 2008 there is an ant task for generating the requisite Eclipse files (see
[https://issues.apache.org/jira/browse/HADOOP-1228 HADOOP-1228]). Follow these instructions
to configure Eclipse:
+ 
+  1. Set up an `ANT_HOME` Classpath Variable in Eclipse Preferences. This is a global Eclipse
setting so you only need to do this once.
+  1. Checkout Hadoop.
+  1. Run the ''eclipse-files'' ant target.
+  1. Refresh the Eclipse project.
+  1. Select `Project` | `Build Project`.
+ 
+ ==== Manual Settings ====
  
  If you want to build all of Hadoop in Eclipse then there are some [http://hadoop.apache.org/core/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. 
  

Mime
View raw message