You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2013/05/01 00:40:39 UTC

svn commit: r1477862 - /hive/branches/branch-0.11/build.xml

Author: hashutosh
Date: Tue Apr 30 22:40:38 2013
New Revision: 1477862

URL: http://svn.apache.org/r1477862
Log:
HIVE-4455 : HCatalog build directories get included in tar file produced by ant tar

Modified:
    hive/branches/branch-0.11/build.xml

Modified: hive/branches/branch-0.11/build.xml
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.11/build.xml?rev=1477862&r1=1477861&r2=1477862&view=diff
==============================================================================
--- hive/branches/branch-0.11/build.xml (original)
+++ hive/branches/branch-0.11/build.xml Tue Apr 30 22:40:38 2013
@@ -510,8 +510,8 @@
     <!-- Package the hcat stuff and pull it up into Hive's build dir -->
     <ant antfile="${hive.root}/hcatalog/build.xml" target="package"
         inheritAll="false"/>
-    <mkdir dir="${build.dir.hive}/hcatalog"/>
-    <copy todir="${build.dir.hive}/hcatalog">
+    <mkdir dir="${target.dir}/hcatalog"/>
+    <copy todir="${target.dir}/hcatalog">
         <fileset dir="${hive.root}/hcatalog/build/hcatalog-${version}"/>
     </copy>
   </target>
@@ -714,6 +714,7 @@
         <tarfileset dir="${hive.root}" mode="664" prefix="${tar.final.name}/src"
                     excludes="${vcs.excludes}">
           <exclude name="build/**" />
+          <exclude name="hcatalog/**/build/**" />
           <exclude name="bin/**" />
           <exclude name="**/py/**/*-remote" />
           <exclude name="data/scripts/**" />
@@ -723,6 +724,7 @@
         <tarfileset dir="${hive.root}" mode="755" prefix="${tar.final.name}/src"
                     excludes="${vcs.excludes}">
           <exclude name="build/**" />
+          <exclude name="hcatalog/**/build/**" />
           <include name="bin/**" />
           <include name="**/py/**/*-remote" />
           <include name="data/scripts/**" />
@@ -753,9 +755,6 @@
           <exclude name="docs/**"/>
           <exclude name="lib/py/**/*-remote"/>
         </tarfileset>
-        <tarfileset dir="${build.dir.hive}/hcatalog" mode="755" prefix="${bin.final.name}"
-                    excludes="${vcs.excludes}">
-        </tarfileset>
       </param.listofitems>
     </macro_tar>
   </target>