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/10/14 20:35:36 UTC

[Pig Wiki] Trivial 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 ==
- == Pig Setup in Eclipse IDE ==
- Eclipse is an open source development community.  If you have not already done so, download Eclipse and install it on your development machine. For more information, see [http://www.eclipse.org Eclipse] and [http://www.eclipse.org/downloads/moreinfo/java.php Eclipse IDE].
  
- ==== Configure the Eclipse Plugins ====
- You will need the [http://www.easyeclipse.org/site/plugins/javacc.html JavaCC plugin] and the[http://subclipse.tigris.org/ Subclipse Subversion plugin] for Eclipse.
+ To use Pig with the Eclipse IDE, see ["Eclipse Environment"].
+   
  
- To install these plugins from within Eclipse, do the following:
-  * Start Eclipse 
-  * Select Help > Software Update > Find and Install
-  * Select Search for new feature to install
-  * Click Import sites and import: attachment:PigEclipse.xml  
- Once the sites are imported, you can install the JavaCC and Subclipse Subversion plugins.
- 
- ==== Check Out Pig with SVN ====
- To get the Pig project into Eclipse, do the following:
-  * Go to the SVN Repository view and add https://svn.apache.org/repos/asf/incubator/pig as a repository. 
-  * Open the repository and right click on trunk/pig and select Checkout.
-  * Checkout the source from SVN to a directory (for example, "mypig").
- 
- 
- ==== Configure External Classes ====
- To get Eclipse to resolve Classes which come from JavaCC, do the following:
-  * Start Eclipse
-  * Select Project > Properties
-  * Select Java Build Path and click Source
-  * Make sure the src-gen directory at the top level is part of the "Source folders in build path" list.
-