Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Exclusive Package Filter #37

Open
mienamoo opened this issue Jun 12, 2017 · 1 comment
Open

Exclusive Package Filter #37

mienamoo opened this issue Jun 12, 2017 · 1 comment

Comments

@mienamoo
Copy link

mienamoo commented Jun 12, 2017

Would it be possible to add a per project filter that includes only the selected packages and exclude everything else?

I am running code coverage on a NetBeans platform module that depends on quite a number of other (large) modules. And the coverage report takes around 30 minutes to generate because it looks at the large number of packages in the other modules too. I suspect this might be the real cause of issue number #29 too - it will complete eventually.

Is there maybe a manual workaround in the meantime, such as editing the project.json file somehow?

@mienamoo
Copy link
Author

mienamoo commented Jun 13, 2017

I have found the manual workaround, after reading the plugin's source code.

To the project.properties file of the module, I added this line (of course with real package names):
jacoco.excludes=za.co.nameofpackage.*:za.co.nameofsecondpackage.*

This helped a lot, the process now takes only 10 minutes. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant