Author: erwan
Date: Mon Apr 4 09:47:35 2011
New Revision: 1088528
URL:
http://svn.apache.org/viewvc?rev=1088528&view=revLog:
Some tweaking for the sonar task, putting the work directory in runtime/, and setting values for sonar.java.source and sonar.java.target, which are used in combination with PMD and clover. More info at
http://docs.codehaus.org/display/SONAR/Advanced+parameters. Thanks to René Scheibe for the idea
Modified:
ofbiz/trunk/build.xml
Modified: ofbiz/trunk/build.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1088528&r1=1088527&r2=1088528&view=diff==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Mon Apr 4 09:47:35 2011
@@ -785,7 +785,7 @@ under the License.
<arg value="--xml"/>
</exec>
<xmlproperty file="runtime/svninfo_tmp.xml"/>
- <sonar:sonar workDir="." key="org.apache:ofbiz" version="${info.entry.commit(revision)}">
+ <sonar:sonar workDir="runtime/sonar" key="org.apache:ofbiz" version="${info.entry.commit(revision)}">
<sources>
<!--framework-->
<path location="framework/appserver/src" />
@@ -834,6 +834,8 @@ under the License.
<path location="specialpurpose/pos/src" />
</sources>
<property key="sonar.dynamicAnalysis" value="false" />
+ <property key="sonar.java.source" value="1.6" />
+ <property key="sonar.java.target" value="1.6" />
</sonar:sonar>
</target>