On Sunday, March 3, 2019 at 9:21:49 PM UTC-8, jk wrote: > shutdown catalina.sh i still the file size as 0 >
This has already been answered many times in this mailing list - for example https://groups.google.com/d/msg/jacoco/Jdgz90jw3ZY/YUAvvA7KBwAJ or https://groups.google.com/d/msg/jacoco/q3xjdkOH_0g/3UMLI_9NAgAJ : JaCoCo creates an empty file at startup to ensure that location is writable. And all the information is written at the JVM shutdown using https://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread) So please make sure that you do not just kill Tomcat, but terminate it gracefully with execution of all shutdown hooks. -- 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/b919b227-4d66-4c67-b357-48609f47b541%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
