Emma Intergration

Hi Teamcity,


I am tryingn to intergrate teamcity with Emma (Code coverage) for our Java build. I seem to get the below failure during the build when this is setup?





[14:55:28]: [ant] test.run
[14:55:28]: [test.run] emma
[14:55:28]: [emma] java.lang.IllegalStateException: class [com.psinventory.cache.AuditedNamedCache] appears to be instrumented already
[14:55:28]: [ant] The  following error occurred while executing this line: C:\TeamCity\psi\work\JAVA\java\build_jar.xml:54:  java.lang.IllegalStateException: class  [com.psinventory.cache.AuditedNamedCache] appears to be instrumented  already
[14:55:28]: [ant] The  following error occurred while executing this line: C:\TeamCity\psi\work\JAVA\java\build.xml:88: The following error  occurred while executing this line: C:\TeamCity\psi\work\JAVA\java\build_jar.xml:54:  java.lang.IllegalStateException: class  [com.psinventory.cache.AuditedNamedCache] appears to be instrumented  already


Please advise


Thanks


Arun
3 comments
Comment actions Permalink

Any update on this please?

0
Comment actions Permalink

Could you please attach full build log?

0
Comment actions Permalink

Hi Pavel,

I have solved this problem, it looked like we already have implemented the emma code coverage for our build. I have now stored the coverage files as artifacts to output through teamcity.

Thanks

Arun.

0

Please sign in to leave a comment.