You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by zs...@apache.org on 2008/12/18 23:36:12 UTC

svn commit: r727846 - /hadoop/hive/trunk/build.xml

Author: zshao
Date: Thu Dec 18 14:36:12 2008
New Revision: 727846

URL: http://svn.apache.org/viewvc?rev=727846&view=rev
Log:
Replace executable cp with copy target, and excludes .svn.

Modified:
    hadoop/hive/trunk/build.xml

Modified: hadoop/hive/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/build.xml?rev=727846&r1=727845&r2=727846&view=diff
==============================================================================
--- hadoop/hive/trunk/build.xml (original)
+++ hadoop/hive/trunk/build.xml Thu Dec 18 14:36:12 2008
@@ -144,12 +144,10 @@
     <mkdir dir="${target.example.dir}/queries"/>
     <mkdir dir="${target.lib.dir}/py"/>
     <mkdir dir="${target.lib.dir}/php"/>
-    <exec executable="cp" failonerror="true">
-      <arg line="-p '${hive.root}/bin/hive' '${target.bin.dir}'"/>
-    </exec>
-    <exec executable="cp" failonerror="true">
-      <arg line="-r '${hive.root}/bin/ext' '${target.bin.dir}'" />
-    </exec>
+    <copy file="${hive.root}/bin/hive" todir="${target.bin.dir}"/>
+    <copy todir="${target.bin.dir}/ext">
+      <fileset dir="${hive.root}/bin/ext" excludes="**/.svn"/>
+    </copy>
     <copy file="${hive.root}/bin/hive-config.sh" todir="${target.bin.dir}"/>
     <copy file="${basedir}/conf/hive-default.xml" todir="${target.conf.dir}"/>
     <copy file="${basedir}/conf/hive-log4j.properties" todir="${target.conf.dir}"/>