Thanks. :) On Tuesday, July 23, 2019 at 1:46:24 AM UTC+8, Marc R. Hoffmann wrote: > > Exactly! > > On 22. Jul 2019, at 14:56, [email protected] <javascript:> wrote: > > Thanks Marc. So it will be something like > <jacoco:dump address="192.168.0.156" port="20279" reset="true" > dump="false"/> > right? > --huafeng > > On Friday, July 12, 2019 at 9:00:13 PM UTC+8, Marc R. Hoffmann wrote: >> >> For step 2 you can just reset without actually requesting a dump. See >> documentation of „dump“ task. >> >> On 12. Jul 2019, at 13:07, Huafeng Lu <[email protected]> wrote: >> >> The approach in my post dumps twice to get the result, so by "better" I >> meant if we can dump only once. >> The approach you stated is essentially the same as mine, so I guess the >> answer is 'нет' - we already got what we need. >> Thanks. >> --huafeng >> >> On Fri, Jul 12, 2019 at 5:45 PM Evgeny Mandrikov <[email protected]> >> wrote: >> >>> >>> >>> On Friday, July 12, 2019 at 10:55:16 AM UTC+2, [email protected] wrote: >>>> >>>> On Friday, July 12, 2019 at 1:11:51 PM UTC+8, Evgeny Mandrikov wrote: >>>> > See documentation of "dump" Ant task at >>>> https://www.jacoco.org/jacoco/trunk/doc/ant.html >>>> > set "reset" parameter to "true" to reset data on agent side >>>> > and >>>> > do not append it to same "destfile" or set parameter "append" to >>>> "false" to overwrite file. >>>> >>>> Thanks Evgeny! >>>> 'reset' will reset data after dumping... so, in order to get the clean >>>> execution result, I guess I should dump (to reset), then launch my test, >>>> then dump again (to really get the execution result). >>> >>> >>> 1. start your application >>> 2. request dump with reset - you'll get execution data of startup >>> 3. do your first test >>> 4. request dump with reset - you'll get execution data of your first test >>> 5. do your second test >>> 6. request dump with reset - you'll get execution data of your second >>> test >>> 7. etc >>> >>> >>>> Is there a better approach? >>> >>> >>> This does exactly what you asked/wanted to do. So better in what? by >>> which criteria? What does not satisfy you in the above approach? >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "JaCoCo and EclEmma Users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/jacoco/tD8zf9v0qv0/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jacoco/0dfb2254-4363-4f75-8cc0-affc96f666bf%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/jacoco/0dfb2254-4363-4f75-8cc0-affc96f666bf%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/CALMmMoXvzmbst02NDzWUuGZKas8YS-NTY6GaBU4W_Wf1eX7d7Q%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/jacoco/CALMmMoXvzmbst02NDzWUuGZKas8YS-NTY6GaBU4W_Wf1eX7d7Q%40mail.gmail.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] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/f361d62a-2232-49ac-8fe6-9fe79efb209a%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/f361d62a-2232-49ac-8fe6-9fe79efb209a%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/15f8799a-cd18-45e3-802e-18a83241b533%40googlegroups.com.
