Mercurial > public > develkit
comparison sonar-ant.xml @ 33:f8b0dde24622
Replace groovy script with custom task to correct memory leak
author | smith@nwoca.org |
---|---|
date | Sat, 16 Apr 2011 16:27:53 -0400 |
parents | 22f63ae66fed |
children | 2704c479a05f |
comparison
equal
deleted
inserted
replaced
32:9480be99ec76 | 33:f8b0dde24622 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <project name="sonar-project-tasks" default="" basedir="." | 2 <project name="sonar-project-tasks" default="" basedir="." |
3 xmlns:ivy="antlib:fr.jayasoft.ivy.ant" | 3 xmlns:ivy="antlib:fr.jayasoft.ivy.ant" |
4 xmlns:sonar="antlib:org.sonar.ant" | 4 xmlns:sonar="antlib:org.sonar.ant" |
5 xmlns:ssdt="http://www.ssdt-ohio.org/ant/common"> | 5 xmlns:ssdt="http://www.ssdt-ohio.org/ant/common" |
6 xmlns:ssdtant="antlib:org.ssdt_ohio.tools.ant"> | |
6 | 7 |
7 <description>Sonar Ant tasks</description> | 8 <description>Sonar Ant tasks</description> |
8 | 9 |
9 <property name="ssdt.sonar.jar.src" | 10 <property name="ssdt.sonar.jar.src" |
10 value="http://ivy.ssdt.nwoca.org/repository/sonar/sonar-ant-task.jar"/> | 11 value="http://ivy.ssdt.nwoca.org/repository/sonar/sonar-ant-task.jar"/> |
11 <ssdt:fetch dest="${user.home.ant.lib}/sonar.jar" | 12 <ssdt:fetch dest="${user.home.ant.lib}/sonar.jar" |
12 src="${ssdt.sonar.jar.src}"/> | 13 src="${ssdt.sonar.jar.src}"/> |
13 <ssdt:import-ant file="jacoco-ant.xml"/> | 14 <ssdt:import-ant file="jacoco-ant.xml"/> |
14 | 15 |
15 <ssdt:add-dependency target="init" depends="-sonar-init"/> | 16 <ssdtant:add-dependency target="init" depends="-sonar-init"/> |
16 | 17 |
17 <target name="-sonar-init"> | 18 <target name="-sonar-init"> |
18 <echo message="Sonar: Active"/> | 19 <echo message="Sonar: Active"/> |
19 <if> | 20 <if> |
20 <contains string="${ant.project.invoked-targets}" substring="sonar"/> | 21 <contains string="${ant.project.invoked-targets}" substring="sonar"/> |