Warning | ||
---|---|---|
| ||
The following page only applies to branch-0.12 and earlier. For trunk see HiveDeveloperFAQ |
After checking out the source code run the following commands command from the top-level directory:
No Format |
---|
$ ant clean package eclipse-files |
...
|
After running these commands, you should see the following new files/directories in the top-level-directory.
- .classpath
- .settings
- .project
- Various .launch files
Now open up Eclipse and do the following:
...
- Project->Properties->Java Compiler->(Check)Enable project specific settings->(Change to 1.6)Compiler compliance level
The following was also needed to get the project compiling:
- Add ./build/ivy/lib/default/hbase-0.92.0-tests.jar to the build path
- Project->buildpath Add library above
- Add jackson*jar to the build path
- Add ./build/ivy/lib/hadoop0.20.shim/*.jar files to the build path
This should import the project and the launch configurations. You can run the Hive CLI from within Eclipse by right clicking on the HiveCLI launch configuration and selecting "Run". You can also look for JUnit launch configurations by checking:
...