jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1728558 - /jmeter/trunk/build.xml
Date Thu, 04 Feb 2016 21:42:05 GMT
Author: pmouawad
Date: Thu Feb  4 21:42:05 2016
New Revision: 1728558

URL: http://svn.apache.org/viewvc?rev=1728558&view=rev
Log:
Fails cleanly when checkstyle is missing

Modified:
    jmeter/trunk/build.xml

Modified: jmeter/trunk/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1728558&r1=1728557&r2=1728558&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Thu Feb  4 21:42:05 2016
@@ -3005,6 +3005,10 @@ run JMeter unless all the JMeter jars ar
     <!-- Need to define config_loc for use by Eclipse -->
     <property name="config_loc" value="."/>
     <target name="checkstyle">
+    	<available property="checkstyle.jar.available" file="${lib.opt}/checkstyle-6.13-all.jar"/>
+        <fail message="This task requires checkstlye, please run download_checkstyle target
to download checkstyle" unless="checkstyle.jar.available"/>
+
+    	<antcall target="_process_checkstyle_jars"></antcall>
         <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties"
                  classpath="${lib.opt}/checkstyle-6.13-all.jar"/>
         <checkstyle config="checkstyle.xml">



Mime
View raw message