I wanted to exclude certain files/packages from getting instrumented in clover.
Used following different entries in build.xml
<files excludes="com/test/project/web/utils/Utils.java, **/test/project/web/utils/**" />
But the file Utils.java and others in the package are still getting instrumented.
Using Cloverfor ant version 3.1.4.
I'm a little late to answer I was just dealing with the same problem that you did. I also use the correct excludes and it was instrumenting every class.
The problem was that I was using ant or antcall, just add to the call the property "inheritrefs" in "true".
<ant target="build" inheritrefs="true" />
Hope this helps!
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot