Hi,

I'm trying to download jacoco code coverage metrics from two different 
application servers and trying to append second one to the first. Here is the 
commands i executed and couldn't combine both.

Scenario#1

downloaded jacoco.exec from server 1 and the jacoco.exec file size is 800 KB
mvn clean compile -Djacoco.address=192.168.1.100 -Djacoco.port=9100 jacoco:dump

Now tried to download from server 2 and the jacoco.exec file size is 755 KB 
mvn clean compile -Djacoco.address=192.168.1.101 -Djacoco.port=9100 jacoco:dump

if i check the size of the file it is 755 KB, jacoco is not appending server 1 
jacoco.exec file with server 2 jacoco.exec file.

I tried running it with -Djacoco.append=true although default is true, but it's 
still not appending.


Scenario#2

I tried to use -Djacoco.destFile=./target/jacoco.exec.1 to create a different 
file name to use merge goal, but the file is created with same name jacoco.exec

Can somebody throw some light to fix this? I'm using following version of 
jacoco and using jdk 1.7 in mac os 10.8.2

             <plugin>
                    <groupId>org.jacoco</groupId>
                   <artifactId>jacoco-maven-plugin</artifactId>
                   <version>0.6.4.201312101107</version>
                   <configuration>
                       
<destFile>${project.build.directory}/jacoco.exec</destFile>
                    </configuration>
                </plugin>

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to