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 .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
dear avatar,
the reason is 4,I change my sourcepath it works。
thanks