Please i' trying to use jacoco javaagent arg from command line.
For exemple, i'm compiling my class with "javac MyClass" then i do "java -javaagent:/path/to/jacoco/jar MyClass"
the jacoco.exec is generated, but i get 0 coverage.
But if i add it as an VM Arg on eclipse and run the application from Eclipse, the coverage appear fine.
Thank you in advance for your help.
Regards,
Issam
--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/kGp9tGqGzHE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/kGp9tGqGzHE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+un...@googlegroups.com.