Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (42 sloc) 2.17 KB
<?xml version="1.0" encoding="utf-8"?>
<project name="PCT" default="sonar" xmlns:sonar="antlib:org.sonar.ant">
<property environment="env" />
<taskdef resource="net/sf/antcontrib/antlib.xml" />
<path id="lib.cp">
<filelist dir="lib" files="ant.jar,ant-launcher.jar,testng-6.13.1.jar,gson-2.2.4.jar" />
</path>
<property name="sonar.host.url" value="${SONAR_URL}" />
<property name="sonar.projectKey" value="eu.rssw.pct:PCT" />
<property name="sonar.projectName" value="PCT" />
<property name="sonar.projectVersion" value="210-pre" />
<property name="sonar.sources" value="src/java,src/progress" />
<property name="sonar.exclusions" value="src/progress/Consultingwerk/**/*,src/progress/**/dump_inc*.p,src/progress/**/_dmp*.p,src/progress/prodict/**/*,src/progress/adecomm/*,src/progress/web/method/*" />
<property name="sonar.sourceEncoding" value="iso8859-1" />
<property name="sonar.oe.binaries" value="build/build-v11" />
<property name="sonar.java.binaries" value="build/java" />
<property name="sonar.jacoco.reportPaths" value="profiler/jacoco.exec" />
<!-- See http://jira.codehaus.org/browse/SONARPLUGINS-1194 -->
<pathconvert property="sonar.java.libraries" pathsep="," refid="lib.cp" />
<property name="sonar.oe.propath" value="src/progress" />
<property name="sonar.oe.databases" value="dictdb.df" />
<property name="sonar.oe.aliases" value="dictdb,dictdb2" />
<property name="sonar.oe.dlc" value="${DLC}" />
<property name="sonar.oe.dlc.propath" value="true" />
<property name="sonar.oe.coverage.profiler.dirs" value="profiler/progress" />
<property name="sonar.branch.name" value="${BRANCH_NAME}" />
<condition property="sonar.branch.target" value="master">
<not><equals arg1="${BRANCH_NAME}" arg2="master" /></not>
</condition>
<target name="sonar">
<taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml">
<classpath path="lib/sonarqube-ant-task-*.jar" />
</taskdef>
<touch file="dictdb.df" />
<mkdir dir="profiler/progress" />
<unzip src="oe-profiler-data.zip" dest="profiler/progress">
<flattenmapper />
</unzip>
<sonar:sonar />
<delete file="dictdb.df" />
</target>
</project>