I was using the ant command line tool with a build.xml configuration file. 
In build.xml, I defined dump, merge, report tasks.
Thanks Marc!
--huafeng

On Wednesday, August 28, 2019 at 4:48:35 PM UTC+8, Marc R. Hoffmann wrote:
>
> Hi Huafeng,
>
> what tool are you using to create the report?
>
> Regards,
> -marc
>
>
>
>
>
> On 28. Aug 2019, at 10:42, [email protected] <javascript:> wrote:
>
> Hi Marc,
> Will you please give me an example to show how to specify the exclude when 
> you create the report? I searched around but haven't figure this out.
> Thanks!
> --huafeng
>
> On Thursday, August 8, 2019 at 1:11:39 PM UTC+8, Marc R. Hoffmann wrote:
>>
>> Hi,
>>
>> if you exclude the classes at runtime, this means no coverage data is 
>> collected for these classes. They will show as uncovered in the report.
>>
>> To exclude the classes from the report, please specify the exclude when 
>> you create the report.
>>
>> Regards,
>> -marc
>>
>> On 7. Aug 2019, at 05:52, [email protected] wrote:
>>
>> hi guys,
>>
>> I was using Jacoco to analyze my API interface tests. My class files have 
>> the following directories/packages:
>> com.X.Y.controller, com.X.Y.view, com.X.Y.view.model, com.X.Y.view.util, 
>> com.X.Y.util, com.X.Y.debug, com.X.Y.helper, etc. I wanted to use 
>> 'excludes=' to excludes the 'helper' and the 'debug' packages from the 
>> analysis scope, so in my java command line, I added this:
>>
>> -javaagent:/path/to/lib/jacocoagent.jar=excludes=*.helper.*:*.debug.*,output=tcpserver,address=xxx,,port=xxx
>>
>> I tried quite a few time with some variances, and each time the analysis 
>> result still contains the 'helper' and the 'debug' part.
>>
>> What's wrong with my approach? Any tips will be appreciated.
>>
>> Thanks.
>> --huafeng
>>
>> -- 
>> 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/a8877c20-7abc-4c50-b879-d0552a4e15eb%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jacoco/a8877c20-7abc-4c50-b879-d0552a4e15eb%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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/4aa8ea0f-cd2d-4e2e-8268-45deda455b02%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/4aa8ea0f-cd2d-4e2e-8268-45deda455b02%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/af7c065d-9a7d-47f6-9a40-0eadb9e9aa5d%40googlegroups.com.

Reply via email to