Hi Marc, Thanks, I think I understand what is happening now although I thought I saw a diagram that indicated it did it on the fly by injecting a jar reference into the running jvm (in this case tomcat running in cargo) and doing something when classes were loaded?
Just so I can properly get my head around this, you are saying that the actual physical class file files that were exploded from my war file have actually been changed and have additional instructions in them? And the reason I can get the coverage report working is because I am then copying these files (after the agent set up) into the target/classes directory? So at what point is jacoco physically changing the unpacked class files? At the phase that I run the agent set up I havent even unpacked the war file yet so it doesnt even know about the classes until I unpack the war and then start tomcat passing in the jvm argument for the jacoco jar to cargo? I am really confused now! Are the classes permenently changed after jacoco does its analysis? Thanks, Paul -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/d3dde7e9-9491-4be8-82c0-7f73d0f7fca3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
