HCATALOG-517 Misc. build cleanup
git-svn-id: https://svn.apache.org/repos/asf/incubator/hcatalog/trunk@1392641 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index 9c6a31b..16736fa 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -42,6 +42,8 @@
HCAT-427 Document storage-based authorization (lefty via gates)
IMPROVEMENTS
+ HCAT-517 Misc. build cleanup (traviscrawford)
+
HCAT-506 desired number of input splits for large files (gmalewicz via traviscrawford)
HCAT-461 Refactor server-extensions as a subproject (traviscrawford)
diff --git a/ant/checkstyle.xml b/ant/checkstyle.xml
index 0ba0626..1d75e5d 100644
--- a/ant/checkstyle.xml
+++ b/ant/checkstyle.xml
@@ -25,7 +25,8 @@
</target>
<target name="checkstyle" depends="checkstyle-init" description="run checkstyle">
- <checkstyle classpathref="test.class.path" config="coding_style.xml">
+ <checkstyle classpathref="test.class.path"
+ config="${basedir}/build-support/checkstyle/coding_style.xml">
<fileset dir="${basedir}" includes="**/*.java"/>
<formatter type="plain"/>
<formatter type="xml" toFile="${build.dir}/checkstyle/checkstyle_result.xml"/>
diff --git a/ant/test.xml b/ant/test.xml
index 6c95ff6..e3aaf1a 100644
--- a/ant/test.xml
+++ b/ant/test.xml
@@ -24,7 +24,8 @@
<attribute name="srcDir"/>
<sequential>
<!-- If anyone knows how to set umask inside ant please do so -->
- <exec executable="${path.to.basedir}/bin/umaskcheck.sh" failonerror="true"/>
+ <exec executable="${path.to.basedir}/build-support/scripts/umaskcheck.sh"
+ failonerror="true"/>
<delete dir="${test.logs}"/>
<delete dir="${test.warehouse.dir}"/>
diff --git a/apache_header_java.txt b/build-support/checkstyle/apache_header_java.txt
similarity index 100%
rename from apache_header_java.txt
rename to build-support/checkstyle/apache_header_java.txt
diff --git a/coding_style.xml b/build-support/checkstyle/coding_style.xml
similarity index 93%
rename from coding_style.xml
rename to build-support/checkstyle/coding_style.xml
index 4af26a6..9c16bda 100644
--- a/coding_style.xml
+++ b/build-support/checkstyle/coding_style.xml
@@ -21,7 +21,7 @@
<module name="FileLength"/>
<module name="Header">
- <property name="headerFile" value="apache_header_java.txt"/>
+ <property name="headerFile" value="build-support/checkstyle/apache_header_java.txt"/>
<property name="fileExtensions" value="java"/>
</module>
diff --git a/bin/umaskcheck.sh b/build-support/scripts/umaskcheck.sh
similarity index 100%
rename from bin/umaskcheck.sh
rename to build-support/scripts/umaskcheck.sh