emmmm.... in fact, I want to find a way to config these JVM arguments without setting them in command line every time. It because that if I transform the instrumented jar to dex and repackage it to an apk, I will have no chance to set JVM argument in the Android system in order to get real-time coverage.
I have figure out it partly. In linux, I can config these arguments globally in $JRE_PATH/lib/management/management.propertities. Any way, thanks a lot. I am still looking for the solution for Android.😶 2018-01-23 15:52 GMT+08:00 Evgeny Mandrikov <[email protected]>: > > > On Tuesday, January 23, 2018 at 7:01:38 AM UTC+1, Tool Ply wrote: >> >> '-Dcom.sun.management.jmxremote.port=9999 >> -Dcom.sun.management.jmxremote.ssl=false >> -Dcom.sun.management.jmxremote.authenticate=false' was for JVM so that >> in offline mode, it cannot be config in 'jacoco_agent.properties' >> > > Of course they can't since they are not JaCoCo properties, but JVM, thus > set them as such: java -D... > > -- > 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/c43681a2-3302-4838-8fcc-27467dfcef05%40googlegroups.com > <https://groups.google.com/d/msgid/jacoco/c43681a2-3302-4838-8fcc-27467dfcef05%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAEqeQ9Fe8WB4Q5bz5zD3KAppb3P9WduKXurMuG3S7EQ8_vmBBQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
