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 MichaelLee:
http://wiki.apache.org/hadoop/HadoopUnderIDEA

------------------------------------------------------------------------------
  
  == Building ==
  
-  * create and edit a build.properties file; add the line
+  * Create and edit a 'build.properties file; add the following line
  {{{
  build.webapps=build/classes/webapps
  }}}
  
+  * The above line is required.  The default location, '{{{build/webapps}}}', 
will not work.  {{{StatusHttpServer}}} locates 'webapps' via{{{ 
classloader.getResource("webapps")}}} and it must be in classpath.
+ 
+ 
-  * Do a command line build first, to set up all the output dirs
+  * Do a command line build first, to set up all the output dirs.
  
  == Creating a new module ==
  Create a new IDEA module for Hadoop.
@@ -37, +40 @@

   * Even if you are not working on an area, adding it to the source tree makes 
refactoring and class/method use queries more reliable.
   * Everything under {{{build/}}} goes away on a clean build, and needs to be 
picked up again by resynchronizing IDEA (if it is not automatic)
   * By default, the webapp metadata goes into {{{build/webapps}}}, which is 
not the right place to be picked up by the IDE. Moving it under 
{{{build/resources/}}} is needed to place it somewhere manageable.
+  * {{{build/src}}} is required for compiled jsp files.  Unfortunately, there 
is no separated ant task to regenerate them.  The best is running ant command 
line.
+  * {{{conf}}} is required for {{{hadoop-default.xml}}} to be copied to 
{{{build/classes}}}.  {{{Configuration}}} will load {{{hadoop-default.xml}}} as 
a resource via classloader.
  
  === test source directories ===
  {{{
@@ -45, +50 @@

  }}}
  
   * Exclude stuff under there that you do not need.
-  * Like 'Source folders', everything under {{{build/}}} goes away on a clean 
build.  If you want to generate test files, you can run 'ant 
generate-test-records' task without building the entire thing
+  * Like 'Source folders', everything under {{{build/}}} goes away on a clean 
build.  You can re-create it by running 'generate-test-records' ant task.
  
  === Build Paths ===
  Set these to the full path of where Hadoop's Ant build sticks things, such as 
:

Reply via email to