You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by Apache Wiki <wi...@apache.org> on 2008/08/05 23:11:24 UTC

[Pig Wiki] Update of "PigDeveloperCookbook" by CorinneC

Dear Wiki user,

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

The following page has been changed by CorinneC:
http://wiki.apache.org/pig/PigDeveloperCookbook

------------------------------------------------------------------------------
   * For `Frontend Errors`, throw newly created `FrontendException` that is a subclass of RuntimeException. Catch the exception in main, log it, including the stack, to the client side log. Write failure message to stderr pointing to the log file. In the future, we might find it useful to further subdivide this errors in which case we might subclass the `FrontendException` class. 
   * For `Backend Errors` there will need to be backend specific way to get the error from the backend to the frontend. Once this is done, log the error into client side log file and throw `ExecuteException`. Catch the exception in main, log it, including the stack, to the client side log. Write failure message to stderr pointing to the log file.
   
+ == Pig and Eclipse ==
+ Eclipse is an open source development community: [http://www.eclipse.org]
  
+ ==== Configure the Eclipse Plugins ====
+ You will need the http://www.easyeclipse.org/site/plugins/javacc.html][JavaCC plugin and http://subclipse.tigris.org/][Subclipse Subversion plugin for http://www.eclipse.org/][Eclipse. You can install these plugins from within Eclipse using Help->Software Update->Find and Install->Search for new feature to install->Import sites and import the attached file. Once the sites are imported install the subversion and JavaCC plugins.
+ 
+ ==== Check Out Pig with SNV ====
+ To get the project into Eclipse, go to the SVN Repository view and add 
+ https://svn.apache.org/repos/asf/incubator/pig/site/ as a repository. You can then open the repository and right click on trunk/pig and select Checkout.
+ 
+ 
+ ==== Configure External Classes ====
+ To get eclipse to resolve Classes which come from javacc, do the following:
+ Within eclipse select project->properties->Java Build Path->Source - Make sure the src-gen directory at the top level is part of the "Source folders in build path" list
+ e
+