I am trying to generate dump data using Jacoco. My
ANT build file builds successfully but when I try to dump the coverage file, I get the following error.
The command I'm using:
C:\Users\DGM(IT)\Downloads\Compressed\apache-ant-1.8.4-bin\apache-ant-1.8.4\bin>ant -buildfile C:\Users\DGM(IT)\Downloads\Compressed\JaCoCo_KT\JaCoCo_KT\JaCoCo_Ant.xml -Ddumplocation=C:\Users\DGM(IT)\Downloads\Compressed\lib generateDump
The error:
"generateDump:
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
[jacoco:dump] Connection refused: connect
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
[jacoco:dump] Connection refused: connect
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
[jacoco:dump] Connection refused: connect
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
[jacoco:dump] Connection refused: connect
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
[jacoco:dump] Connection refused: connect
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
[jacoco:dump] Connection refused: connect
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
[jacoco:dump] Connection refused: connect
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
[jacoco:dump] Connection refused: connect
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
[jacoco:dump] Connection refused: connect
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
[jacoco:dump] Connection refused: connect
[jacoco:dump] Connecting to localhost/127.0.0.1:6300
BUILD FAILED
C:\Users\DGM(IT)\Downloads\Compressed\JaCoCo_KT\JaCoCo_KT\JaCoCo_Ant.xml:16: Unable to dump coverage data
Total time: 21 sec"