Finally , i can generate the coverage report by emma ,by there is a problem that is the page "COVERAGE BREAKDOWN BY SOURCE FILE" can not link java source
source file 'com/xxx/xxx/web/bean/AgentBean.java' not found in sourcepath
but my java source file is exist and the path is correct .
Forgive me if I state the obvious that you may already have tried, but it's been a long time since I ran Emma:
1. Is this only one of several source files? If Emma can find the others then take a hard look at the one that errors.
2. Did you compile with all debug enabled?
3. If you are running under Ant or Maven or something that can exclude files?
4. That path appears to be relative. I just looked back over my old scripts and saw that I used absolute paths everywhere. Maybe I was being overcautious but it worked.
the reason is 4，I change my sourcepath it works。
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.