You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by th...@apache.org on 2013/09/16 05:15:16 UTC

svn commit: r1523539 - /hive/trunk/build-common.xml

Author: thejas
Date: Mon Sep 16 03:15:16 2013
New Revision: 1523539

URL: http://svn.apache.org/r1523539
Log:
Wincompat : junit.file.schema configurability (Sushanth Sowmyan via Thejas Nair)

Modified:
    hive/trunk/build-common.xml

Modified: hive/trunk/build-common.xml
URL: http://svn.apache.org/viewvc/hive/trunk/build-common.xml?rev=1523539&r1=1523538&r2=1523539&view=diff
==============================================================================
--- hive/trunk/build-common.xml (original)
+++ hive/trunk/build-common.xml Mon Sep 16 03:15:16 2013
@@ -422,9 +422,11 @@
       <equals arg1="windows" arg2="${os.family}"/>
       <then>
         <property name="junit.script.extension" value=".cmd"/>
+        <property name="junit.file.schema" value=""/>
       </then>
       <else>
         <property name="junit.script.extension" value=""/>
+        <property name="junit.file.schema" value="file://"/>
       </else>
     </if>
     <if>
@@ -448,9 +450,9 @@
       <sysproperty key="test.dfs.mkdir" value="${test.dfs.mkdir}"/>
       <sysproperty key="test.service.standalone.server" value="${standalone}"/>
       <sysproperty key="test.service.disable.server" value="${disableserver}"/>
-      <sysproperty key="log4j.configuration" value="file:///${test.src.data.dir}/conf/hive-log4j.properties"/>
+      <sysproperty key="log4j.configuration" value="${junit.file.schema}${test.src.data.dir}/conf/hive-log4j.properties"/>
       <sysproperty key="derby.stream.error.file" value="${test.build.dir}/derby.log"/>
-      <sysproperty key="hive.aux.jars.path" value="file:///${test.build.dir}/test-udfs.jar"/>
+      <sysproperty key="hive.aux.jars.path" value="${junit.file.schema}${test.build.dir}/test-udfs.jar"/>
       <sysproperty key="ql.test.query.clientpositive.dir" value="${ql.test.query.clientpositive.dir}"/>
       <sysproperty key="ql.test.results.clientpositive.dir" value="${ql.test.results.clientpositive.dir}"/>
       <sysproperty key="test.log.dir" value="${test.log.dir}"/>