You haven't described how you build locally,
so let me point you to the JaCoCo documentation

https://www.jacoco.org/jacoco/trunk/doc/build.html

that describes how we build it on our machines and in our CI. By following
commands from the above page locally I'm getting JAR of a desired size.

On Wed, 13 Jul 2022 at 12:53, volcano voco <vocovolc...@gmail.com> wrote:

> [image: 1.png]
>
> 在2022年7月13日星期三 UTC+8 17:52:33<volcano voco> 写道:
>
>> I get it.
>> In jacoco release dir 'lib` ,the jacocoagent.jar is about 286 KB, but the
>> jar i get by mvn is about 2543 KB. how i get a smaller jar?
>>
>> Thanks.
>> 在2022年7月13日星期三 UTC+8 17:18:47<Evgeny Mandrikov> 写道:
>>
>>>
>>> org.jacoco.agent/target/classes/jacocoagent.jar
>>>
>>>
>>> On Wed, 13 Jul 2022 at 11:57, volcano voco <vocov...@gmail.com> wrote:
>>>
>>>> when i package the module `org.jacoco.agent.rt`, just get:
>>>>
>>>> [image: 20220713-165611.png]
>>>>
>>>> how i get a new `jacocoagent.jar` ?
>>>>
>>>> Thanks.
>>>> 在2022年7月13日星期三 UTC+8 16:51:30<volcano voco> 写道:
>>>>
>>>>> I downloaded the source code, changed some methods, and I wanted to
>>>>> recompile the package to generate jacocoagent.jar. I see that the size of
>>>>> jacocoagent.jar released by jacococo is about 286 KB, but my maven report
>>>>> does not generate jacocoagent.jar.
>>>>
>>>> --
>>>> 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 jacoco+un...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/jacoco/e5383abc-2f6f-4d60-bb79-8be5d03046dbn%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/jacoco/e5383abc-2f6f-4d60-bb79-8be5d03046dbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> Regards,
>>> Evgeny
>>>
>>> --
> 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 jacoco+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jacoco/d683fb12-e227-4599-b6a2-51d3baa607b9n%40googlegroups.com
> <https://groups.google.com/d/msgid/jacoco/d683fb12-e227-4599-b6a2-51d3baa607b9n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Regards,
Evgeny

-- 
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/CAEPFu68_RsQFF_jFpasjyFC9buT2zhpqZ7hZAdNkBNR4Bx1rWg%40mail.gmail.com.

Reply via email to