incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1299572 - /incubator/lcf/branches/CONNECTORS-288/build.xml
Date Mon, 12 Mar 2012 07:53:15 GMT
Author: kwright
Date: Mon Mar 12 07:53:15 2012
New Revision: 1299572

URL: http://svn.apache.org/viewvc?rev=1299572&view=rev
Log:
Make the elasticsearch test run be conditional on java version > 1.5

Modified:
    incubator/lcf/branches/CONNECTORS-288/build.xml

Modified: incubator/lcf/branches/CONNECTORS-288/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-288/build.xml?rev=1299572&r1=1299571&r2=1299572&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-288/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-288/build.xml Mon Mar 12 07:53:15 2012
@@ -114,6 +114,7 @@
         <ant dir="tests/sharepoint" target="clean"/>
         <ant dir="tests/webcrawler" target="clean"/>
         <ant dir="tests/wiki" target="clean"/>
+        <ant dir="tests/elasticsearch" target="clean"/>
 
     </target>
     
@@ -1520,6 +1521,9 @@
     <target name="calculate-elasticsearch-tests-condition" depends="calculate-elasticsearch-testmaterials-condition,calculate-elasticsearch-condition,calculate-cmis-condition">
       <condition property="elasticsearch-tests.include">
         <and>
+            <not>
+                <equals arg1="${ant.java.version}" arg2="1.5" />
+            </not>
             <isset property="elasticsearch.include"/>
             <isset property="elasticsearch-testmaterials.include"/>
             <isset property="cmis.include"/>



Mime
View raw message