Emma Intergration Follow
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
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
Please sign in to leave a comment.
Any update on this please?
Could you please attach full build log?
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.