hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1477862 - /hive/branches/branch-0.11/build.xml
Date Tue, 30 Apr 2013 22:40:39 GMT
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>



Mime
View raw message