> using command line tools to copy the classes of interest in temporary 
location before you create the report

It works fine. Thanks!
BTW, can I move all my classes in a single directory without creating sub 
dirs? Will it cause any path issues?

before:

- a
    - 1.class
    - 2.class
- b
    - c
        - 3.class

after:

- a
    - 1.class
    - 2.class
    - 3.class

Thanks

在 2020年5月20日星期三 UTC+8上午4:59:43,Marc R. Hoffmann写道:
>
> Hi,
>
> thanks for your kind words and your proposal. We want to keep our tools as 
> slim as possible and are very reluctant to add e.g. new file formats.
>
> In your case I recommend
>
> 1) using command line tools to copy the classes of interest in temporary 
> location before you create the report
> 2) Use e.g. our Ant task which accepts Ant filesets with all its filtering 
> options
>
> Regards,
> -marc
>
>
> On 19. May 2020, at 12:47, william feng <[email protected] <javascript:>> 
> wrote:
>
> hello there, I love this tool and thanks very much :)
> Currently I use jacococli.jar to handle my ec files, and I have a question 
> / suggestion:
>
>
>    1. Now `classfiles` will recursivily scan directories. It is not 
>    flexible enough. If I want to include or exclude some specific classes, I 
>    have to:
>       - Use `--classfiles` and include every sub directories I want, like 
>       `java -jar jacococli.jar report xxx.ec --classfiles xx.class 
>       --classfiles yy.class --classfiles mydir`. 
>       - In a large project, it may easily causes `command too long` in 
>       linux.
>       - .ec files can be merged, but class files can not.
>       - Command would be longer and longer in the future.
>    2. In my opinion, we can put all these configures to a extra configure 
>    file (maybe json? or something like nginx.conf):
>       - Make this command to something like `java -jar jacococli.jar 
>       -config jacoco_config.json`.
>       - It 's easy to extend, for example, we can set a very precise 
>       `include` and `exclude` in config file.
>    
>
> Thanks
>
>
> -- 
> 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/86a023cd-abec-46f2-8fae-cd67126b6ad1%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/86a023cd-abec-46f2-8fae-cd67126b6ad1%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/d1adc802-633c-4175-8179-c15d9f0c140e%40googlegroups.com.

Reply via email to