> And it is not feasible to get to know the locations of Class Files at runtime
The same holds true for the JaCoCo agent. It only sees the classes which are actually used. Classes which are not used are not seen by the agent. That’s why the agent can’t create a report on its own. There is an option though to dump all class files seen by the agent. They might be used to create a (incomplete) coverage report. See option classdumpdir in the agent documentation: https://www.jacoco.org/jacoco/trunk/doc/agent.html <https://www.jacoco.org/jacoco/trunk/doc/agent.html> Regards, -marc > On 3. Feb 2020, at 09:42, Sai Nath <[email protected]> wrote: > > Here's my Scenario > > I have different types of application running - say WebApp, Docker etc in a > distributed setup > And it is not feasible to get to know the locations of Class Files at runtime > > Is there a way to directly dump the report into XML (considering there are > instances of Jacoco agents running on multiple servers) without actually > knowing where the Class Files are present? > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/b8a6d08a-c6e7-47af-9ab7-7c5cc7a6c779%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/b8a6d08a-c6e7-47af-9ab7-7c5cc7a6c779%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/65416157-63CB-4D9F-9916-CFDAC01CE21C%40mountainminds.com.
