Skip to content

Commit

Permalink
ZOOKEEPER-2955: Enable Clover code coverage report
Browse files Browse the repository at this point in the history
Removed the classpath printing from this PR.
  • Loading branch information
Mark Fenes committed Feb 20, 2018
1 parent ca68181 commit 321fc01
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant">
pattern="${ivy.lib}/[artifact]-[revision].[ext]"/>
<ivy:cachepath pathid="mvn-ant-task-classpath" conf="mvn-ant-task"/>
</target>
<target name="compile" depends="ivy-retrieve,clover,build-generated,print_compile_classpath">
<target name="compile" depends="ivy-retrieve,clover,build-generated">
<javac srcdir="${java.src.dir}" destdir="${build.classes}" includeantruntime="false"
target="${javac.target}" source="${javac.source}" debug="on" encoding="${build.encoding}">
<classpath refid="java.classpath"/>
Expand Down Expand Up @@ -1252,7 +1252,7 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant">
</fileset>
</target>

<target name="junit.run" depends="junit-init,print_junit_classpath,junit.run-single,junit.run-concurrent" />
<target name="junit.run" depends="junit-init,junit.run-single,junit.run-concurrent" />

<target name="junit.run-concurrent" if="ant.supports.concurrent.junit.processes">
<echo>Running ${test.junit.threads} concurrent JUnit processes.</echo>
Expand Down Expand Up @@ -1876,18 +1876,4 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant">
<delete dir="${build.dir.eclipse}" />
</target>

<target name="print_compile_classpath">
<pathconvert pathsep="${line.separator}| |-- " property="echo.compile.classpath" refid="java.classpath"/>
<echo message="|-- compile classpath"/>
<echo message="| |"/>
<echo message="| |-- ${echo.compile.classpath}"/>
</target>

<target name="print_junit_classpath">
<pathconvert pathsep="${line.separator}| |-- " property="echo.junit.classpath" refid="junit.classpath"/>
<echo message="|-- junit classpath"/>
<echo message="| |"/>
<echo message="| |-- ${echo.junit.classpath}"/>
</target>

</project>

0 comments on commit 321fc01

Please sign in to comment.