You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Install Eclipse

Eclipse is an open source development community. If you have not already done so, download and install Eclipse on your development machine. For more information, see Eclipse and Eclipse IDE for Java Developers.

Checkout Pig

Create a directory on your development machine (for example "mypig") and checkout the Pig source from SVN: http://svn.apache.org/repos/asf/pig/trunk

Generate eclipse files:

ant clean eclipse-files

Import Pig project into Eclipse

  1. Open Eclipse
  2. Select File->Import
  3. Select General->Existing Projects Into Workspace
  4. Select root directory (point to <top-level-directory>)
  5. Click Finish

Troubleshooting

  • Build problems: Check if eclipse is using JDK version 1.6, pig needs it (Under Preferences/Java/Compiler).
  • No labels