Cyberduck Mountain Duck CLI

Changeset 9752


Ignore:
Timestamp:
Sep 26, 2012 1:38:39 PM (9 years ago)
Author:
dkocher
Message:

Update Sonar task.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r9672 r9752  
    7171
    7272    <path id="build.classpath">
    73         <pathelement location="/System/Library/Java"/>
    7473        <fileset dir="${lib}">
    7574            <include name="*.jar"/>
     
    8382        <classpath refid="build.classpath"/>
    8483    </taskdef>
    85 
    86     <taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml"/>
    8784
    8885    <target name="init">
     
    243240    </target>
    244241
     242    <taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml"/>
     243
    245244    <target name="sonar" depends="build">
     245        <property name="sonar.projectName" value="${app.name}" />
     246        <property name="sonar.projectKey" value="ch.cyberduck:cyberduck" />
     247        <property name="sonar.projectVersion" value="${svn.revision}" />
    246248        <property name="sonar.sources" value="${source}"/>
    247249        <property name="sonar.tests" value="${unittests}"/>
     
    258260        <property name="sonar.dynamicAnalysis" value="reuseReports"/>
    259261        <property name="sonar.jacoco.antTargets" value="test"/>
    260         <sonar:sonar key="ch.cyberduck:cyberduck" version="${svn.revision}" xmlns:sonar="antlib:org.sonar.ant"/>
     262        <sonar:sonar xmlns:sonar="antlib:org.sonar.ant"/>
    261263    </target>
    262264</project>
Note: See TracChangeset for help on using the changeset viewer.