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/06/30 19:01:05 UTC
svn commit: r1498156 - /hive/trunk/build.xml
Author: hashutosh
Date: Sun Jun 30 17:01:04 2013
New Revision: 1498156
URL: http://svn.apache.org/r1498156
Log:
HIVE-4559 : hcatalog/webhcat scripts in tar.gz don't have execute permissions set (Eugene Koifman via Ashutosh Chauhan)
Modified:
hive/trunk/build.xml
Modified: hive/trunk/build.xml
URL: http://svn.apache.org/viewvc/hive/trunk/build.xml?rev=1498156&r1=1498155&r2=1498156&view=diff
==============================================================================
--- hive/trunk/build.xml (original)
+++ hive/trunk/build.xml Sun Jun 30 17:01:04 2013
@@ -522,6 +522,11 @@
<copy todir="${target.dir}/hcatalog">
<fileset dir="${hive.root}/hcatalog/build/hcatalog-${hcatalog.version}"/>
</copy>
+ <!--fix permissions since 'copy' looses them (known ant/Java issue)-->
+ <chmod perm="ugo+x" type="file">
+ <fileset dir="${target.dir}/hcatalog/bin"/>
+ <fileset dir="${target.dir}/hcatalog/sbin"/>
+ </chmod>
</target>
@@ -752,6 +757,8 @@
<tarfileset dir="${build.dir.hive}/dist" mode="755" prefix="${bin.final.name}"
excludes="${vcs.excludes}">
<include name="bin/**"/>
+ <include name="hcatalog/bin/*"/>
+ <include name="hcatalog/sbin/*"/>
</tarfileset>
<tarfileset dir="${build.dir.hive}/dist" mode="755" prefix="${bin.final.name}"
excludes="${vcs.excludes}">
@@ -763,6 +770,8 @@
<exclude name="bin/**"/>
<exclude name="docs/**"/>
<exclude name="lib/py/**/*-remote"/>
+ <exclude name="hcatalog/bin/*"/>
+ <exclude name="hcatalog/sbin/*"/>
</tarfileset>
</param.listofitems>
</macro_tar>