Hi Issam,

the problem you probably encounter is documented (http://www.eclemma.org/userdoc/importexport.html):

   *Warning:* Imported execution data must be based on the exact same
   class files that are also used within the Eclipse IDE. If the
   external launch was based on different class files (e.g. created
   with different compiler) no coverage will be shown.

Alternatively you might create the report directy with the class files from your installed application using JaCoCo's build tools (e.g. the report Ant task).

Regards,
-marc


On 03.10.14 11:07, [email protected] wrote:
Hello,

I'm trying to measure code coverage on an installed application (installed from 
an EXE), running some sikuli tests (or just doing some actions on the 
application when i start it).

I'm able to attach jacoco agent using the .ini file of the application, and it 
generates a jacoco.exec. But when i'm trying to see coverage report using 
eclipse plugin on the source code of the application, i'm getting just some 
activators that are covered, and not the manipulations i did...

Otherwise, When i start the application from eclipse using the jacocoagent in 
the launching options...it did just fine.

Thank you in advance for your help.

Regards,
Issam


--
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