You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2016/12/18 11:57:53 UTC
svn commit: r1774880 - /jmeter/trunk/build.xml
Author: fschumacher
Date: Sun Dec 18 11:57:53 2016
New Revision: 1774880
URL: http://svn.apache.org/viewvc?rev=1774880&view=rev
Log:
Move definition of sonar namespace to sonar task, so that it works,
even when sonar lib was just downloaded.
Bugzilla Id: 60494
Modified:
jmeter/trunk/build.xml
Modified: jmeter/trunk/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1774880&r1=1774879&r2=1774880&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Sun Dec 18 11:57:53 2016
@@ -3368,10 +3368,6 @@ run JMeter unless all the JMeter jars ar
<fileset dir="./lib/opt" includes="**/*.jar" />
</path>
- <taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml">
- <classpath refid="sonar.classpath" />
- </taskdef>
-
<property name="sonar.organizationName" value="Apache" />
<property name="sonar.projectName" value="JMeter" />
@@ -3446,6 +3442,11 @@ run JMeter unless all the JMeter jars ar
<isset property="env.SONAR_JDBC_PASSWORD" />
</condition>
<property name="sonar.java.test.libraries" value="lib/**/*.jar" />
+
+ <taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml">
+ <classpath refid="sonar.classpath" />
+ </taskdef>
+
<sonar:sonar xmlns:sonar="antlib:org.sonar.ant">
</sonar:sonar>
</target>