Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 1
PORT 1
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

<?xml version="1.0" encoding="UTF-8"?>
<project name="Ant Task to write JaCoCo Report" default="report" xmlns:jacoco="antlib:org.jacoco.ant">

<taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml">
<classpath path="${env.VAGRANT_DIR}/jacoco/lib/jacocoant.jar" />
</taskdef>

<target name="deleteReport" depends="report.check" if="dir.exists">
<echo>deleting report directory.......</echo>
<delete dir="${env.VAGRANT_DIR}/jacoco/${env.ROOT_NAME}/report" />
</target>

<target name="report.check">
<condition property="dir.exists">
<available file="${env.VAGRANT_DIR}/jacoco/${env.ROOT_NAME}/report" type="dir"/>
</condition>
</target>

<target name="dump">
<jacoco:dump address="
IP " port=" PORT " reset="true" append="true" destfile="${env.VAGRANT_DIR}/jacoco/${env.ROOT_NAME}/jacoco.exec"/>
</target>

<target name="report" depends="deleteReport,resourceIntegrationTest,dump">

<jacoco:report>
<!-- execution data as input for report generation -->
<executiondata>
<file file="${env.VAGRANT_DIR}/jacoco/${env.ROOT_NAME}/jacoco.exec" />
</executiondata>
<!-- the class files of the measured application -->
<structure name="${env.ROOT_NAME}">
<classfiles>
<fileset dir="${env.ROOT_DIR}/${env.SERVICE_NAME}/build/classes/main"/>
</classfiles>

<!-- specifying the source files allows to view the covered code -->
<sourcefiles encoding="UTF-8">
<fileset dir="${env.ROOT_DIR}/${env.SERVICE_NAME}/src/main/java" />
</sourcefiles>
</structure>

<!-- write HTML report -->
<html destdir="${env.VAGRANT_DIR}/jacoco/${env.ROOT_NAME}/report" />

</jacoco:report>
</target>

</project>