manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1600421 - /manifoldcf/trunk/framework/buildfiles/connector-build.xml
Date Wed, 04 Jun 2014 18:50:28 GMT
Author: kwright
Date: Wed Jun  4 18:50:28 2014
New Revision: 1600421

URL: http://svn.apache.org/r1600421
Log:
Refactor has-tests-check

Modified:
    manifoldcf/trunk/framework/buildfiles/connector-build.xml

Modified: manifoldcf/trunk/framework/buildfiles/connector-build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/buildfiles/connector-build.xml?rev=1600421&r1=1600420&r2=1600421&view=diff
==============================================================================
--- manifoldcf/trunk/framework/buildfiles/connector-build.xml (original)
+++ manifoldcf/trunk/framework/buildfiles/connector-build.xml Wed Jun  4 18:50:28 2014
@@ -290,8 +290,10 @@
         </javac>
     </target>
 
-    <target name="has-tests-check" depends="pretest-check" if="canTest">
-        <available file="connector/src/test/java" property="hasTests"/>
+    <target name="has-tests-check" depends="pretest-check">
+        <condition property="hasTests">
+            <isset property="canTest"/>
+        </condition>
     </target>
 
     <target name="has-test-resources-check" depends="has-tests-check" if="hasTests">



Mime
View raw message