You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2016/08/14 12:29:10 UTC

svn commit: r1756316 - /jmeter/trunk/build.xml

Author: sebb
Date: Sun Aug 14 12:29:10 2016
New Revision: 1756316

URL: http://svn.apache.org/viewvc?rev=1756316&view=rev
Log:
Simplify by using jar property names

Modified:
    jmeter/trunk/build.xml

Modified: jmeter/trunk/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1756316&r1=1756315&r2=1756316&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Sun Aug 14 12:29:10 2016
@@ -3144,12 +3144,12 @@ 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"/>
+    <available property="checkstyle.jar.available" file="${lib.opt}/${checkstyle-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"/>
+             classpath="${lib.opt}/${checkstyle-all.jar}"/>
     <checkstyle config="checkstyle.xml">
       <fileset dir="src" includes="**/*.java"/>
       <formatter type="plain"/>
@@ -3159,15 +3159,14 @@ run JMeter unless all the JMeter jars ar
   </target>
 
   <target name="rat">
-    <available property="rat.jar.available" file="${lib.opt}/apache-rat-tasks-${rat.version}.jar"/>
+    <available property="rat.jar.available" file="${lib.opt}/${rat.jar}"/>
     <fail message="This task requires Apache Creadur RAT, please run download_rat target to download it" unless="rat.jar.available"/>
     <taskdef
       uri="antlib:org.apache.rat.anttasks"
       resource="org/apache/rat/anttasks/antlib.xml">
       <classpath>
-        <pathelement location="${lib.opt}/apache-rat-${rat.version}.jar"/>
-        <pathelement location="${lib.opt}/apache-rat-tasks-${rat.version}.jar"/>
-        <!--pathelement location="${lib.dir}/${commons-io.jar}"/-->
+        <pathelement location="${lib.opt}/${rat.jar}"/>
+        <pathelement location="${lib.opt}/${rat-tasks.jar}"/>
       </classpath>
     </taskdef>
     <rat:report reportfile="reports/rat-report.txt">