HCATALOG-608 exclude data files from hcatalog release audit report

git-svn-id: https://svn.apache.org/repos/asf/incubator/hcatalog/trunk@1438646 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index ab6f7d7..cdc31d9 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -178,6 +178,8 @@
   OPTIMIZATIONS
 
   BUG FIXES
+  HCAT-608 exclude data files from hcatalog release audit report (traviscrawford)
+
   HCAT-606 remove hcatalog test includes/excludes files (traviscrawford)
 
   HCAT-599 NotificationListener doesn't use getTopic() for sending messages. (mithun via traviscrawford)
diff --git a/build-support/ant/checkstyle.xml b/build-support/ant/checkstyle.xml
index 9ed82e4..273dfb7 100644
--- a/build-support/ant/checkstyle.xml
+++ b/build-support/ant/checkstyle.xml
@@ -34,6 +34,7 @@
           <exclude name="**/build/**"/>
           <exclude name=".idea/**"/>
           <exclude name="build-support/checkstyle/apache_header.txt"/>
+          <exclude name="build-support/conf/rat-excludes.txt"/>
           <exclude name="license/*-LICENSE.txt"/>
           <exclude name="src/docs/src/documentation/**"/>
           <exclude name="src/packages/**"/> <!-- TODO: delete packages configs -->
diff --git a/build-support/conf/rat-excludes.txt b/build-support/conf/rat-excludes.txt
new file mode 100644
index 0000000..f943db8
--- /dev/null
+++ b/build-support/conf/rat-excludes.txt
@@ -0,0 +1,7 @@
+build
+boolean.rcfile
+complex.rcfile
+numbers.rcfile
+numbers.txt
+nums.txt
+rat-excludes.txt
\ No newline at end of file
diff --git a/build.xml b/build.xml
index ae8ca07..ff6b31a 100644
--- a/build.xml
+++ b/build.xml
@@ -407,8 +407,8 @@
               output="${basedir}/build/releaseaudit_report.txt">
             <arg value="--dir"/>
             <arg value="${basedir}"/>
-            <arg value="-e"/>
-            <arg value=".*/build/.*"/>
+            <arg value="--exclude-file"/>
+            <arg value="build-support/conf/rat-excludes.txt"/>
         </java>
         <echo message="releaseaudit report generated at ${basedir}/build/releaseaudit_report.txt"/>
     </target>