diff --git .checkstyle .checkstyle index 2491fa2..316a42e 100644 --- .checkstyle +++ .checkstyle @@ -5,6 +5,6 @@ - + diff --git README.txt README.txt index ea352fd..b46ffd4 100644 --- README.txt +++ README.txt @@ -336,7 +336,7 @@ FUTURE FEATURES * Table statistics for query optimization. Developing Hive using Eclipse ------------------------- +----------------------------- 1. Follow the 3 steps in "Downloading and building" section above 2. Generate test files for eclipse: @@ -356,6 +356,20 @@ Developing Hive using Eclipse 4. Run the CLI or a set of test cases by right clicking on one of the *.launch configurations and selection Run or Debug. +Enabling Checkstyle Plugin in Eclipse +------------------------------------- +1. Follow the steps in "Developing Hive using Eclipse" to import + Hive project in your Eclipse workbench. + +2. If you do not have Checkstyle plugin for eclipse, install it + before proceeding to next step. For more information refer to + http://eclipse-cs.sourceforge.net/. + +3. In the package navigator, select the hive project, right-click + and select Checkstyle > Activate Checkstyle. This will cause + the checkstyle plugin to activate and analyze the project sources. + + Development Tips ------------------------ * You may use the following line to test a specific testcase with a specific query file. diff --git build.xml build.xml index 5e14cf6..7d38905 100644 --- build.xml +++ build.xml @@ -530,6 +530,7 @@ failOnViolation="false"> + diff --git checkstyle/checkstyle.xml checkstyle/checkstyle.xml index 4c91477..bdd8f58 100644 --- checkstyle/checkstyle.xml +++ checkstyle/checkstyle.xml @@ -50,6 +50,9 @@ + + +