You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
@dimense First of all - this is old repository of EclEmma Eclipse plugin, while you're talking about JaCoCo library, which is hosted in another repository.
In your setup (output=file) JaCoCo creates empty exec-file to ensure that output location (destfile) is writable, and writes all the data at the JVM termination (dumponexit=true). So while JVM is not terminated and dump of data is not requested explicitly, it is normal that file stays empty.
This is a issue tracker. Please use our mailing list for general questions:
https://groups.google.com/forum/?fromgroups=#!forum/jacoco
Also check FAQ before opening an issue: https://www.eclemma.org/faq.html
Steps to reproduce
1.start process script:
JAVA_OPTS=" -javaagent:/opt/huawei/jacoco/lib/jacocoagent.jar:dumponexit=true,includes=com.,output=file,destfile=/opt/huawei/jacoco/data/work.exec -Xms512m -Xmx1024m"
nohup java $JAVA_OPTS -cp ../lib/:../conf com.huawei.olc.WorkerBootstrap >> $WORK_DIR/logs/run.log 2>&1 &
2.start process
3.excute some case,then check coverage data
host-10-24-0-20:/opt/huawei/worker/bin # ll /opt/huawei/jacoco/data/
total 0
-rw-r--r-- 1 root root 0 Aug 8 10:43 work.exec
so please analys the problem ,ths
EclEmma version:0.7.9
Eclipse version:
Operating system:suse
byw:windows is ok,unbantu is ok,suse is not ok.
Expected behaviour
Actual behaviour
The text was updated successfully, but these errors were encountered: