hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1388929 - /hive/trunk/jdbc/build.xml
Date Sun, 23 Sep 2012 00:06:59 GMT
Author: hashutosh
Date: Sun Sep 23 00:06:59 2012
New Revision: 1388929

URL: http://svn.apache.org/viewvc?rev=1388929&view=rev
Log:
HIVE-3494 : Some of the JDBC test cases are failing on Windows because of the longer class
path. (Kanna Karanam via Ashutosh Chauhan)

Modified:
    hive/trunk/jdbc/build.xml

Modified: hive/trunk/jdbc/build.xml
URL: http://svn.apache.org/viewvc/hive/trunk/jdbc/build.xml?rev=1388929&r1=1388928&r2=1388929&view=diff
==============================================================================
--- hive/trunk/jdbc/build.xml (original)
+++ hive/trunk/jdbc/build.xml Sun Sep 23 00:06:59 2012
@@ -23,7 +23,9 @@
   <import file="../build-common.xml"/>
 
   <target name="set-test-classpath">
-    <path id="test.classpath">
+    <typedef name="distinctelementsclasspath" classname="org.apache.hadoop.hive.ant.DistinctElementsClassPath"
+      classpath="${build.dir.hive}/anttasks/hive-anttasks-${version}.jar:${build.ivy.lib.dir}/default/commons-collections-${commons-collections.version}.jar:${build.ivy.lib.dir}/default/commons-lang-${commons-lang.version}.jar"/>
+    <distinctelementsclasspath  id="test.classpath">
       <pathelement location="${test.build.classes}" />
       <pathelement location="" />
       <pathelement location="${test.src.data.dir}/conf"/>
@@ -33,7 +35,7 @@
       <pathelement location="${build.dir.hive}/ql/test/classes"/>
       <fileset dir="${hive.root}/build/ivy/lib/hadoop0.${hadoop.mr.rev}.shim" includes="*.jar"
/>
       <path refid="classpath" />
-    </path>
+    </distinctelementsclasspath>
   </target>
 
   <target name="compile" depends="init,ivy-retrieve">



Mime
View raw message