Menu

#95 Option to skip the instrumented files with "copy" mode

open
CORE (51)
5
2008-05-16
2008-05-16
weifeng niu
No

As I know, there is no option to skip the files that have aleady been instrumented. But my scenario is:
There is a a.jar in out project. The manifest entries of a.jar have a b.jar. When I use "copy" mode to instrument the jar files (I set the instrpath to "**/*.jar"), Emma will find b.jar from both "instrpath" and manifest of a.jar. When Emma tries to instrument b.jar for the second, it will give an error to tell the b.jar has already been instrumented and the instrument is broken.
I wonder if an option could be added to skip the instrmented files in the scenarios like the above. I think in most scenarios we don't care whether the file has been instrumented. If the file has already been instrumented, just skipping it is acceptable for most scenarios.
Thanks.

Discussion


Log in to post a comment.